Skip to main content

look_angle_batch_parallel

Function look_angle_batch_parallel 

Source
pub fn look_angle_batch_parallel(
    satellites: &[Satellite],
    ground_station: GroundStation,
    datetimes: &[UtcInstant],
) -> Vec<Result<Vec<LookAngle>, LookAngleError>>
Expand description

Topocentric look angles for many already-initialized SGP4 satellites over a shared epoch grid, fanned across a rayon thread pool.

Each satellite’s arc is computed by the same serial look_angle_arc kernel and the indexed parallel collect preserves input order, so element i is byte-for-byte identical to element i of look_angle_batch_serial.