kai.reduce.analysis

Module Contents

Classes

Analysis

Object that will perform our standard post-data-reduction analysis.

Functions

plotPosError(starlist, raw=False, suffix='', radius=4, magCutOff=15.0, title=True)

Make three standard figures that show the data quality

class kai.reduce.analysis.Analysis(epoch, rootDir='/g/lu/data/orion/', filt='kp', clean_dir=None, combo_dir=None, combo_stf_dir=None, epochDirSuffix=None, imgSuffix=None, stfDir=None, useDistorted=False, cleanList='c.lis', airopa_mode='single', stf_version=None, instrument=instruments.default_inst)[source]

Bases: object

Object that will perform our standard post-data-reduction analysis. This includes running starfinder, calibrating, and extracting positional and photometric errors via align_rms.

prepStarfinder(self, targetName, targetCoords, psfStars, filterName)[source]

Creates a _psf.list file and saves it in the source_list/ directory.

analyzeCombo(self)[source]
analyzeClean(self)[source]
analyzeComboClean()[source]
starfinderCombo(self, oldPsf=False)[source]
starfinderClean(self)[source]
starfinderCleanLoop(self)[source]
calibrateCombo(self)[source]
calibrateClean(self)[source]
alignCombo(self)[source]
alignClean(self)[source]
kai.reduce.analysis.plotPosError(starlist, raw=False, suffix='', radius=4, magCutOff=15.0, title=True)[source]

Make three standard figures that show the data quality from a *_rms.lis file.

  1. astrometric error as a function of magnitude.

  2. photometric error as a function of magnitude.

  3. histogram of number of stars vs. magnitude.

Use raw=True to plot the individual stars in plots 1 and 2.