random_boresight
- simsit.tools.random_boresight(*, observer, t0, horizon, rng)
Draw a random boresight uniformly from the spherical cap above a horizon cut.
Parameters
- observerssapy.EarthObserver
Observer location.
- t0astropy.time.Time
Observation time.
- horizongalsim.Angle
Minimum altitude.
- rngnumpy.random.Generator
Random number generator.
Returns
- galsim.CelestialCoord
Random boresight direction.