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
wavelength
for a star of spectral typesptype
and V magnitudeV
.Either
exp_time
orsignal_to_noise
should be supplied to the function (but not both).Warning
arcesetc
doesn’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_time
is a float, show the counts curve for that exposure time. Otherwise, usesignal_to_noise
to compute the appropriate exposure time.- signal_to_noiseNone or float
If
signal_to_noise
is a float, compute the appropriate exposure time to generate the counts curve that has S/N =signal_to_noise
at wavelengthwavelength
. Otherwise, generate counts curve for exposure timeexp_time
.
- Returns: