kai.reduce.calibrate
Attributes
Classes
Format help with indented section bodies. |
|
Use this to keep all the lists associated with |
Functions
|
|
|
|
|
|
|
Read in a starlist and return a starlist object |
|
Returns an array of indices which holds the index of the |
|
Calculate the average zeropoints from all the |
|
Write out a calibrated starlist and a *.zer file with |
|
Helper class to get the calibrate camera type from the |
Module Contents
- kai.reduce.calibrate.all_scales = [[1.0, 'No scaling'], [0.0102, 'Speckle'], [0.0087, 'KCAM-AO'], [0.0085, 'SCAM-AO'], [0.00993,...[source]
- class kai.reduce.calibrate.IndentedHelpFormatterWithNL(indent_increment=2, max_help_position=24, width=None, short_first=1)[source]
Bases:
optparse.IndentedHelpFormatter
Format help with indented section bodies.
- kai.reduce.calibrate.input_data(options)[source]
Read in a starlist and return a starlist object with the following hanging off:
name mag epoch x y xerr (none for starfinder starlists) yerr (none for starfinder starlists) snr corr nframes fwhm
- kai.reduce.calibrate.find_cal_stars(calibs, stars, options)[source]
Returns an array of indices which holds the index of the matching star in the starlist. Non-matches have an index of -1.
- kai.reduce.calibrate.calc_zeropt(calibs, stars, options)[source]
Calculate the average zeropoints from all the calibrator stars specified by the user (or defaults). Recall that not all calibrators in our list will be used for the calibration… only those with both include = True and found in the starlist.
- kai.reduce.calibrate.output_new(zeropt, zeropt_err, calibs, stars, options)[source]
Write out a calibrated starlist and a *.zer file with the calculated zeropoints.