Skip to content

Documentation for NIRSim

Bases: Sim

observe(SC_Resets1=1, SC_Resets2=1, SC_DropFrames1=0, SC_DropFrames2=16, SC_DropFrames3=0, SC_ReadFrames=4, SC_Groups=2, SC_Integrations=10, start_time=Time('2000-01-01T12:00:00', scale='utc'), target_spectrum_function=None, noise=True, jitter=True, output_type='fits')

Returns an observation as though taken from the Pandora Observatory.

Parameters:

Returns:

result : np.ndarray or astropy.io.fits.HDUList Result of the simulation. Either a numpy array with shape (nROIs, nframes, nrows, ncolumns), or a fits format.

point(ra, dec, roll)

Point the simulation in a direction.

show_subarray(**kwargs)

Plot an example subarray observation.