LSST Applications
21.0.0-172-gfb10e10a+18fedfabac,22.0.0+297cba6710,22.0.0+80564b0ff1,22.0.0+8d77f4f51a,22.0.0+a28f4c53b1,22.0.0+dcf3732eb2,22.0.1-1-g7d6de66+2a20fdde0d,22.0.1-1-g8e32f31+297cba6710,22.0.1-1-geca5380+7fa3b7d9b6,22.0.1-12-g44dc1dc+2a20fdde0d,22.0.1-15-g6a90155+515f58c32b,22.0.1-16-g9282f48+790f5f2caa,22.0.1-2-g92698f7+dcf3732eb2,22.0.1-2-ga9b0f51+7fa3b7d9b6,22.0.1-2-gd1925c9+bf4f0e694f,22.0.1-24-g1ad7a390+a9625a72a8,22.0.1-25-g5bf6245+3ad8ecd50b,22.0.1-25-gb120d7b+8b5510f75f,22.0.1-27-g97737f7+2a20fdde0d,22.0.1-32-gf62ce7b1+aa4237961e,22.0.1-4-g0b3f228+2a20fdde0d,22.0.1-4-g243d05b+871c1b8305,22.0.1-4-g3a563be+32dcf1063f,22.0.1-4-g44f2e3d+9e4ab0f4fa,22.0.1-42-gca6935d93+ba5e5ca3eb,22.0.1-5-g15c806e+85460ae5f3,22.0.1-5-g58711c4+611d128589,22.0.1-5-g75bb458+99c117b92f,22.0.1-6-g1c63a23+7fa3b7d9b6,22.0.1-6-g50866e6+84ff5a128b,22.0.1-6-g8d3140d+720564cf76,22.0.1-6-gd805d02+cc5644f571,22.0.1-8-ge5750ce+85460ae5f3,master-g6e05de7fdc+babf819c66,master-g99da0e417a+8d77f4f51a,w.2021.48
LSST Data Management Base Package
|
Public Member Functions | |
def | __init__ (self, root, tag=None, config=None, dataId=None, mode="ccd") |
def | fit (self, outRecord) |
def | plotDistribution (self, *records) |
def | displayOptimizer (self, record, **kwds) |
def | displayResiduals (self, record, nonlinear="fit", amplitudes="fit", doApplyWeights=False) |
Public Attributes | |
mode | |
butler | |
dataRef | |
task | |
inputs | |
Interactive analysis helper class This class manages a butler, calexp, modelfits catalog, and an instance of a Measure*Task, allowing individual objects to be re-fit and plotted.
Definition at line 44 of file interactive.py.
def lsst.meas.modelfit.display.interactive.Interactive.__init__ | ( | self, | |
root, | |||
tag = None , |
|||
config = None , |
|||
dataId = None , |
|||
mode = "ccd" |
|||
) |
Construct an interactive analysis object. @param[in] rerun Output directory, relative to $S13_DATA_DIR/output. measureCcd.py (or measureCoadd.py if mode='coadd') must have been run (possibly with prepOnly=True) previously with this output directory. @param[in] tag Tag associated with the run; see BaseMeasureConfig.tag. If None, config must not be (and config.tag will be used). @param[in] config ConfigClass instance; if None, it will be loaded from disk. @param[in] dataId Butler data ID of the image to analyze. @param[in] mode One of "ccd", "coadd", or "multi", indicating whether to use MeasureCcdTask, MeasureCoaddTask, or MeasureMultiTask.
Definition at line 51 of file interactive.py.
def lsst.meas.modelfit.display.interactive.Interactive.displayOptimizer | ( | self, | |
record, | |||
** | kwds | ||
) |
Definition at line 139 of file interactive.py.
def lsst.meas.modelfit.display.interactive.Interactive.displayResiduals | ( | self, | |
record, | |||
nonlinear = "fit" , |
|||
amplitudes = "fit" , |
|||
doApplyWeights = False |
|||
) |
Display the data postage stamp along with the model image and residuals in ds9. @param[in] record ModelFitRecord defining the object to display @param[in] nonlinear Vector of nonlinear parameters, or a string prefix (see below) @param[in] amplitudes Vector of linear parameters, or a string prefix (see below) @param[in] doApplyWeights Whether to show the weighted images used directly in the fit or the original unweighted data. String prefixes are used to extract the parameters from the record. Usually the following are available: fit ------- use record.get("fit.*"); the best-fit parameters initial --- use record.get("initial.*"); the initial parameters
Definition at line 144 of file interactive.py.
def lsst.meas.modelfit.display.interactive.Interactive.fit | ( | self, | |
outRecord | |||
) |
Re-fit the object indicated by the given record sequential index or source ID, returning the record.
Definition at line 99 of file interactive.py.
def lsst.meas.modelfit.display.interactive.Interactive.plotDistribution | ( | self, | |
* | records | ||
) |
Plot a representation of the posterior distribution from a ModelFitRecord.
Definition at line 107 of file interactive.py.
lsst.meas.modelfit.display.interactive.Interactive.butler |
Definition at line 66 of file interactive.py.
lsst.meas.modelfit.display.interactive.Interactive.dataRef |
Definition at line 72 of file interactive.py.
lsst.meas.modelfit.display.interactive.Interactive.inputs |
Definition at line 97 of file interactive.py.
lsst.meas.modelfit.display.interactive.Interactive.mode |
Definition at line 65 of file interactive.py.
lsst.meas.modelfit.display.interactive.Interactive.task |
Definition at line 96 of file interactive.py.