reconstruct_order#
- arcesetc.reconstruct_order(sptype, wavelength, V, exp_time=None, signal_to_noise=None)[source]#
Return the counts as a function of wavelength for the spectral order nearest to
wavelengthfor a star of spectral typesptypeand V magnitudeV.Either
exp_timeorsignal_to_noiseshould be supplied to the function (but not both).Warning
arcesetcdoesn’t know anything about saturation. Ye be warned!- Parameters:
- sptypestr
Spectral type of the star.
- wavelength
Quantity - Vfloat
V magnitude of the target.
- exp_timeNone or float
If
exp_timeis a float, show the counts curve for that exposure time. Otherwise, usesignal_to_noiseto compute the appropriate exposure time.- signal_to_noiseNone or float
If
signal_to_noiseis a float, compute the appropriate exposure time to generate the counts curve that has S/N =signal_to_noiseat wavelengthwavelength. Otherwise, generate counts curve for exposure timeexp_time.
- Returns: