INNER CODE UNIT · Python
failed
ATTron/astroz · bindings/python/astroz/__init__.py:390
failed = slice(n_sats - len(const._failed_satrecs), n_sats)
pos[:, failed] = np.nan
if velocities:
vel[:, failed] = np.nan
return (pos, vel) if velocities else pos
_SCREEN_STATE_BUDGET = 256 * 1024 * 1024 # bytes of positions + velocities per chunk
class Conjunctions(NamedTuple):
"""Close approaches found by ``screen``, one entry per encounter.
``i`` and ``j`` are satellite indices (``i < j``) in the constellation's
output order, ``time`` is the time of closest approach in minutes from
``start_time``, ``distance`` the miss distance in km and ``speed`` the
relative speed in km/s at that moment.