INNER CODE UNIT · Python

sgp4_offsets

ATTron/astroz · bindings/python/astroz/__init__.py:357

        sgp4_offsets = (start - np.array(const._zig.epochs, dtype=np.float64)) * 1440.0
        const._zig.propagate_into(
            times,
            pos,
            vel,
            epoch_offsets=sgp4_offsets,
            satellite_mask=None,
            output=output,
            reference_jd=start,
            time_major=True,
            output_stride=n_sats,
        )

    # SDP4 fills columns [n_sgp4, n_sats). It only emits TEME, so ECEF and
    # geodetic conversion happen here.
    if const._sdp4_satrecs:
        vel_out = vel if velocities else np.empty(shape, dtype=np.float64)
        _sdp4_batch_propagate_into(

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…