ScarletSourceData¶
- 
class 
lsst.meas.extensions.scarlet.ScarletSourceData(components: list, factorizedComponents: list, peakId: int)¶ Bases:
objectData for a scarlet source
Attributes: - components : 
listofScarletComponentData The components contained in the source that are not factorized.
- factorizedComponents : 
listofScarletFactorizedComponentData The components contained in the source that are factorized.
- peakId : 
int The peak ID of the source in it’s parent’s footprint peak catalog.
Methods Summary
asDict()Return the object encoded into a dict for JSON serialization fromDict(data)Reconstruct ScarletSourceDatafrom JSON compatible dict.Methods Documentation
- 
asDict() → dict¶ Return the object encoded into a dict for JSON serialization
Returns: - result : 
dict The object encoded as a JSON compatible dict
- result : 
 
- 
classmethod 
fromDict(data: dict) → lsst.meas.extensions.scarlet.io.ScarletSourceData¶ Reconstruct
ScarletSourceDatafrom JSON compatible dict.Parameters: - data : 
dict Dictionary representation of the object
Returns: - result : 
ScarletSourceData The reconstructed object
- data : 
 
- components :