Result¶
This module contains the data class which acts as a container for all the results and parameters calculated or needed for the analysis code. Default value for numerical values is -99. If in the final results -99 appears this means that the value was either not clacluated or there has been an error with that part of the analysis. Default value for strings is an empty string.
-
class
pawlikMorphLSST.result.
Result
(file: str, outfolder: Any, occludedFile: str, pixelMapFile: Any = '', cleanImage: Any = '', starMask: Any = '', objList: Any = <factory>, A: List[float] = <factory>, As: List[float] = <factory>, As90: List[float] = <factory>, rmax: float = -99, apix: Tuple[float] = (-99.0, -99.0), sky: float = -99.0, sky_err: float = 99.0, fwhms: List[float] = <factory>, theta: float = -99.0, r20: float = -99.0, r80: float = -99.0, C: float = -99.0, gini: float = -99.0, m20: float = -99.0, S: float = -99.0, sersic_amplitude: float = -99.0, sersic_r_eff: float = -99.0, sersic_n: float = -99.0, sersic_x_0: float = -99.0, sersic_y_0: float = -99.0, sersic_ellip: float = -99.0, sersic_theta: float = -99.0, time: float = 0.0, star_flag: bool = False, maskedPixelFraction: float = -99.0, objectEdge: bool = False) Data class that stores the results of image analysis.
-
A
: List[float] = None Calculated asymmetry value, format [A, A_error]
-
As
: List[float] = None Calculated shape asymmetry value, format [As, As_error]
-
As90
: List[float] = None Calculated shape asymmetry 90 value, format [As90, As90_error]
-
C
: float = -99.0 Concentraion value
-
S
: float = -99.0 Smoothness value.
-
apix
: Tuple[float] = (-99.0, -99.0) Asymmetry (A) minimised central pixel
-
cleanImage
: Any = '' path to clean image.
-
file
: str = None Filename of image
-
fwhms
: List[float] = None FWHM’s of the fitted 2D Gaussian
-
gini
: float = -99.0 Gini index
-
m20
: float = -99.0 M20 value
-
maskedPixelFraction
: float = -99.0 Fraction of pixels masked due to occluding star/object.
-
objList
: Any = None List of objects RA, DECs that occlude objects segmentation map.
-
objectEdge
: bool = False If true then the segmentation map extends to an edge of the image.
-
occludedFile
: str = None Filename of output data for objects that occlude with segmentation map.
-
outfolder
: Any = None Output folder for saving data
-
pixelMapFile
: Any = '' Path to segmentation map
-
r20
: float = -99.0 Radius in which 20% of total light flux is contained
-
r80
: float = -99.0 Radius in which 80% of total light flux is contained
-
rmax
: float = -99 Maxmimum radius of the segmentation map
-
sersic_amplitude
: float = -99.0 Sersic amplitude.
-
sersic_ellip
: float = -99.0 Sersic ellipticity.
-
sersic_n
: float = -99.0 Sersic index.
-
sersic_r_eff
: float = -99.0 Sersic effective radius
-
sersic_theta
: float = -99.0 Sersic rotation.
-
sersic_x_0
: float = -99.0 Sersic x centre
-
sersic_y_0
: float = -99.0 Sersic y centre
-
sky
: float = -99.0 Sky background value.
-
sky_err
: float = 99.0 Sky background error.
-
starMask
: Any = '' path to star mask
-
star_flag
: bool = False If true means that there is a star in the catalogue occluding the objects segmentation map
-
theta
: float = -99.0 Theta of the fitted 2D Gaussian
-
time
: float = 0.0 Time taken to analyse image.
-
write
(objectfile) Write out result as a row to a csv file
-