Appearance
KBE3D / KBSatellite / _satellitejs / twoline2satrec
函数: twoline2satrec()
twoline2satrec(
longstr1:string,longstr2:string):SatRec
Return a Satellite imported from two lines of TLE data.
Provide the two TLE lines as strings tleLine1 and tleLine2, and select which standard set of gravitational constants you want by providing gravity_constants:
sgp4.propagation.wgs72 - Standard WGS 72 model sgp4.propagation.wgs84 - More recent WGS 84 model sgp4.propagation.wgs72old - Legacy support for old SGP4 behavior
Normally, computations are made using letious recent improvements to the algorithm. If you want to turn some of these off and go back into "afspc" mode, then set afspc_mode to True.
参数
longstr1
string
longstr2
string
