draw_sat
- simsit.tools.draw_sat(orbit, *, t0, exptime, wcs0, tracker, psf, image, observer, nphot, nsplit=10, propagator=None)
Draw one or more tracked objects into an image.
Parameters
- orbitsequence of ssapy.Orbit
Orbits to draw.
- t0astropy.time.Time
Exposure start time.
- exptimefloat
Exposure time in seconds.
- wcs0galsim.GSFitsWCS
Reference WCS at the start of the exposure.
- trackerTracker
Tracker object providing boresight and rotation as a function of time.
- psfgalsim.GSObject
Point-spread function model.
- imagegalsim.Image
Output image to draw into.
- observerssapy.EarthObserver
Observer location.
- nphotsequence of float
Photon counts for each orbit.
- nsplitint, optional
Number of time segments used to approximate motion during the exposure.
- propagatorssapy.Propagator, optional
Propagator used for orbit evaluation.
Returns
- tableastropy.table.Table
Table containing start/end sky and image coordinates and photon counts.
- wcsgalsim.GSFitsWCS or None
Final WCS used during drawing. Returns None if no orbits were provided.