LSST Applications g0603fd7c41+501e3db9f9,g0aad566f14+23d8574c86,g0dd44d6229+a1a4c8b791,g2079a07aa2+86d27d4dc4,g2305ad1205+a62672bbc1,g2bbee38e9b+047b288a59,g337abbeb29+047b288a59,g33d1c0ed96+047b288a59,g3a166c0a6a+047b288a59,g3d1719c13e+23d8574c86,g487adcacf7+cb7fd919b2,g4be5004598+23d8574c86,g50ff169b8f+96c6868917,g52b1c1532d+585e252eca,g591dd9f2cf+4a9e435310,g63cd9335cc+585e252eca,g858d7b2824+23d8574c86,g88963caddf+0cb8e002cc,g99cad8db69+43388bcaec,g9ddcbc5298+9a081db1e4,ga1e77700b3+a912195c07,gae0086650b+585e252eca,gb0e22166c9+60f28cb32d,gb2522980b2+793639e996,gb3a676b8dc+b4feba26a1,gb4b16eec92+63f8520565,gba4ed39666+c2a2e4ac27,gbb8dafda3b+a5d255a82e,gc120e1dc64+d820f8acdb,gc28159a63d+047b288a59,gc3e9b769f7+f4f1cc6b50,gcf0d15dbbd+a1a4c8b791,gdaeeff99f8+f9a426f77a,gdb0af172c8+b6d5496702,ge79ae78c31+047b288a59,w.2024.19
LSST Data Management Base Package
|
Public Member Functions | |
__init__ (self, list[Component] components) | |
int | n_components (self) |
tuple[int, int]|None | center (self) |
tuple[int, int]|None | source_center (self) |
bool | is_null (self) |
Box | bbox (self) |
tuple | bands (self) |
Image | get_model (self, bool use_flux=False) |
parameterize (self, Callable parameterization) | |
__str__ (self) | |
__repr__ (self) | |
Public Attributes | |
components | |
n_components | |
A container for components associated with the same astrophysical object A source can have a single component, or multiple components, and each can be contained in different bounding boxes. Parameters ---------- components: The components contained in the source.
lsst.scarlet.lite.source.Source.__repr__ | ( | self | ) |
lsst.scarlet.lite.source.Source.__str__ | ( | self | ) |
tuple lsst.scarlet.lite.source.Source.bands | ( | self | ) |
Box lsst.scarlet.lite.source.Source.bbox | ( | self | ) |
The minimal bounding box to contain all of this sources components Null sources have a bounding box with shape `(0,0,0)`
Definition at line 78 of file source.py.
tuple[int, int] | None lsst.scarlet.lite.source.Source.center | ( | self | ) |
The center of the source in the full Blend.
Definition at line 53 of file source.py.
Image lsst.scarlet.lite.source.Source.get_model | ( | self, | |
bool | use_flux = False ) |
Build the model for the source This is never called during optimization and is only used to generate a model of the source for investigative purposes. Parameters ---------- use_flux: Whether to use the re-distributed flux associated with the source instead of the component models. Returns ------- model: The full-color model.
Definition at line 97 of file source.py.
bool lsst.scarlet.lite.source.Source.is_null | ( | self | ) |
int lsst.scarlet.lite.source.Source.n_components | ( | self | ) |
lsst.scarlet.lite.source.Source.parameterize | ( | self, | |
Callable | parameterization ) |
Convert the component parameter arrays into Parameter instances Parameters ---------- parameterization: A function to use to convert parameters of a given type into a `Parameter` in place. It should take a single argument that is the `Component` or `Source` that is to be parameterized.
Definition at line 127 of file source.py.
tuple[int, int] | None lsst.scarlet.lite.source.Source.source_center | ( | self | ) |
The center of the source in its local bounding box.
Definition at line 60 of file source.py.