LsstHistory¶
-
class
lsst.meas.extensions.scarlet.
LsstHistory
(*args, **kwargs)¶ Bases:
lsst.meas.extensions.scarlet.LsstSource
LsstSource with attributes for traceback
Attributes Summary
The coordinate in a
ComponentTree
.The frame of this component
Numpy view of the component morphology
Numpy view of the component SED
Shape of the image (Channel, Height, Width)
Methods Summary
Use the prior to update the gradient
display_model
([observation, ax, filters, Q, …])get_flux
()Get flux in every band
get_model
([sed, morph, observation])Get the model for this component.
modelToHeavy
(filters[, xy0, observation, dtype])Convert the model to a
MultibandFootprint
morphToHeavy
(peakSchema[, xy0])Convert the morphology to a
HeavyFootprint
Plot the position and convergence history of an object
update
()Default update parameters for an ExtendedSource
update_history
(it)Attributes Documentation
-
coord
¶ The coordinate in a
ComponentTree
.
-
frame
¶ The frame of this component
-
morph
¶ Numpy view of the component morphology
-
sed
¶ Numpy view of the component SED
-
shape
¶ Shape of the image (Channel, Height, Width)
-
step_morph
¶
-
step_sed
¶
Methods Documentation
-
backward_prior
()¶ Use the prior to update the gradient
-
display_model
(observation=None, ax=None, filters=None, Q=10, stretch=1, show=True)¶
-
get_flux
()¶ Get flux in every band
-
get_model
(sed=None, morph=None, observation=None)¶ Get the model for this component.
-
modelToHeavy
(filters, xy0=Point2I(0, 0), observation=None, dtype=<class 'numpy.float32'>)¶ Convert the model to a
MultibandFootprint
-
morphToHeavy
(peakSchema, xy0=Point2I(0, 0))¶ Convert the morphology to a
HeavyFootprint
-
plot_history
()¶ Plot the position and convergence history of an object
-
update
()¶ Default update parameters for an ExtendedSource
This method can be overwritten if a different set of constraints or update functions is desired.
-
update_history
(it)¶
-