kai.reduce.sky
Module Contents
Functions
|
Make short wavelength (not L-band or longer) skies. |
|
Make L' skies by carefully treating the ROTPPOSN angle |
|
Make L' skies by carefully treating the ROTPPOSN angle |
|
Make short wavelength (not L-band or longer) skies. |
|
Make L' skies by carefully treating the ROTPPOSN angle |
|
Read in the list of files and rotation angles. |
- kai.reduce.sky.makesky(files, nite, wave, skyscale=True, raw_dir=None, instrument=instruments.default_inst)[source]
Make short wavelength (not L-band or longer) skies.
- Parameters
- fileslist of int
Integer list of the files. Does not require padded zeros.
- nitestr
Name for night of observation (e.g.: “nite1”), used as suffix inside the reduce sub-directories.
- wavestr
Name for the observation passband (e.g.: “kp”)
- skyscalebool, default=True
Whether or not to scale the sky files to the common median. Turn on for scaling skies before subtraction.
- raw_dirstr, optional
Directory where raw files are stored. By default, assumes that raw files are stored in ‘../raw’
- instrumentinstruments object, optional
Instrument of data. Default is instruments.default_inst
- kai.reduce.sky.makesky_lp(files, nite, wave, number=3, rejectHsigma=None, raw_dir=None, instrument=instruments.default_inst)[source]
Make L’ skies by carefully treating the ROTPPOSN angle of the K-mirror. Uses 3 skies combined (set by number keyword).
- Parameters
- fileslist of int
Integer list of the files. Does not require padded zeros.
- nitestr
Name for night of observation (e.g.: “nite1”), used as suffix inside the reduce sub-directories.
- wavestr
Name for the observation passband (e.g.: “lp”)
- numberint, default=3
Number of skies to be combined
- rejectHsigmaint, default:None
Flag to pass for rejectHsigma for IRAF imcombine By default, no flags are passed
- raw_dirstr, optional
Directory where raw files are stored. By default, assumes that raw files are stored in ‘../raw’
- instrumentinstruments object, optional
Instrument of data. Default is instruments.default_inst
- kai.reduce.sky.makesky_lp2(files, nite, wave)[source]
Make L’ skies by carefully treating the ROTPPOSN angle of the K-mirror. Uses only 2 skies combined.
- kai.reduce.sky.makesky_fromsci(files, nite, wave)[source]
Make short wavelength (not L-band or longer) skies.