snappl API¶
snappl.config Module¶
Classes¶
|
Interface for yaml config file. |
|
Used internally by Config, ignore. |
Used internally by Config, ignore. |
Class Inheritance Diagram¶
digraph inheritancec8ab0b9a0e { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Config" [URL="api/snappl.config.Config.html#snappl.config.Config",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Interface for yaml config file."]; "NoValue" [URL="api/snappl.config.NoValue.html#snappl.config.NoValue",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Used internally by Config, ignore."]; "NotFoundValue" [URL="api/snappl.config.NotFoundValue.html#snappl.config.NotFoundValue",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Used internally by Config, ignore."]; }snappl.dbclient Module¶
Classes¶
|
A client for communcating with the Roman SNPIT internal database. |
Class Inheritance Diagram¶
digraph inheritance42b23561fd { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "SNPITDBClient" [URL="api/snappl.dbclient.SNPITDBClient.html#snappl.dbclient.SNPITDBClient",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A client for communcating with the Roman SNPIT internal database."]; "rkAuthClient" -> "SNPITDBClient" [arrowsize=0.5,style="setlinewidth(0.5)"]; "rkAuthClient" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; }snappl.diaobject Module¶
Classes¶
|
Encapsulate a single supernova (or other transient). |
|
A transient from the OpenUniverse 2024 sims. |
|
A manually-specified object that's not saved anywhere. |
Class Inheritance Diagram¶
digraph inheritance9c90e7ff0c { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "DiaObject" [URL="api/snappl.diaobject.DiaObject.html#snappl.diaobject.DiaObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Encapsulate a single supernova (or other transient)."]; "DiaObjectManual" [URL="api/snappl.diaobject.DiaObjectManual.html#snappl.diaobject.DiaObjectManual",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A manually-specified object that's not saved anywhere."]; "DiaObject" -> "DiaObjectManual" [arrowsize=0.5,style="setlinewidth(0.5)"]; "DiaObjectOU2024" [URL="api/snappl.diaobject.DiaObjectOU2024.html#snappl.diaobject.DiaObjectOU2024",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A transient from the OpenUniverse 2024 sims."]; "DiaObject" -> "DiaObjectOU2024" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.imagecollection Module¶
Classes¶
A class that keeps track of groups of images. |
|
|
Collection of OpenUnivers 2024 FITS images. |
|
Manually specified custom images. |
|
Class Inheritance Diagram¶
digraph inheritance5064928408 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ImageCollection" [URL="api/snappl.imagecollection.ImageCollection.html#snappl.imagecollection.ImageCollection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A class that keeps track of groups of images."]; "ImageCollectionDB" [URL="api/snappl.imagecollection.ImageCollectionDB.html#snappl.imagecollection.ImageCollectionDB",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ImageCollectionManualFITS" [URL="api/snappl.imagecollection.ImageCollectionManualFITS.html#snappl.imagecollection.ImageCollectionManualFITS",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Manually specified custom images."]; "ImageCollectionOU2024" [URL="api/snappl.imagecollection.ImageCollectionOU2024.html#snappl.imagecollection.ImageCollectionOU2024",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Collection of OpenUnivers 2024 FITS images."]; }snappl.image Module¶
Classes¶
|
Encapsulates a single 2d image. |
|
Abstract class for classes that store their array internall as a numpy 2d array. |
|
Base class for classes that read FITS images and uses an AstropyWCS wcs. |
|
A FITS Image that has standardized header keywords corresponding to the properties defined in Image. |
|
An Image which is may correspond to a compressed file on disk (gz or bz2, not yet supporting fpack). |
|
Instantiate an image. |
|
Instantiate an image. |
|
An image read from a roman datamodel ASDF file. |
Class Inheritance Diagram¶
digraph inheritance8024593061 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "CompressedFITSImage" [URL="api/snappl.image.CompressedFITSImage.html#snappl.image.CompressedFITSImage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An Image which is may correspond to a compressed file on disk (gz or bz2, not yet supporting fpack)."]; "FITSImage" -> "CompressedFITSImage" [arrowsize=0.5,style="setlinewidth(0.5)"]; "FITSImage" [URL="api/snappl.image.FITSImage.html#snappl.image.FITSImage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Base class for classes that read FITS images and uses an AstropyWCS wcs."]; "Numpy2DImage" -> "FITSImage" [arrowsize=0.5,style="setlinewidth(0.5)"]; "FITSImageOnDisk" [URL="api/snappl.image.FITSImageOnDisk.html#snappl.image.FITSImageOnDisk",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "CompressedFITSImage" -> "FITSImageOnDisk" [arrowsize=0.5,style="setlinewidth(0.5)"]; "FITSImageStdHeaders" [URL="api/snappl.image.FITSImageStdHeaders.html#snappl.image.FITSImageStdHeaders",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A FITS Image that has standardized header keywords corresponding to the properties defined in Image."]; "FITSImage" -> "FITSImageStdHeaders" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Image" [URL="api/snappl.image.Image.html#snappl.image.Image",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Encapsulates a single 2d image."]; "PathedObject" -> "Image" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Numpy2DImage" [URL="api/snappl.image.Numpy2DImage.html#snappl.image.Numpy2DImage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Abstract class for classes that store their array internall as a numpy 2d array."]; "Image" -> "Numpy2DImage" [arrowsize=0.5,style="setlinewidth(0.5)"]; "OpenUniverse2024FITSImage" [URL="api/snappl.image.OpenUniverse2024FITSImage.html#snappl.image.OpenUniverse2024FITSImage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "CompressedFITSImage" -> "OpenUniverse2024FITSImage" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PathedObject" [URL="api/snappl.pathedobject.PathedObject.html#snappl.pathedobject.PathedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An object that might be stored in the database but that also has files on disk."]; "RomanDatamodelImage" [URL="api/snappl.image.RomanDatamodelImage.html#snappl.image.RomanDatamodelImage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An image read from a roman datamodel ASDF file."]; "Image" -> "RomanDatamodelImage" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.image_simulator Module¶
Classes¶
|
|
|
|
|
|
|
|
|
A class for static sources (galaxies) that don't vary with time. |
|
NOTE : while working on the image, "noise" is actually variance!!!! |
|
Class Inheritance Diagram¶
digraph inheritancea3a0586dd2 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "ImageSimulationStar" [URL="api/snappl.image_simulator.ImageSimulationStar.html#snappl.image_simulator.ImageSimulationStar",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ImageSimulatorPointSource" -> "ImageSimulationStar" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ImageSimulator" [URL="api/snappl.image_simulator.ImageSimulator.html#snappl.image_simulator.ImageSimulator",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ImageSimulatorImage" [URL="api/snappl.image_simulator.ImageSimulatorImage.html#snappl.image_simulator.ImageSimulatorImage",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="NOTE : while working on the image, \"noise\" is actually variance!!!!"]; "ImageSimulatorPointSource" [URL="api/snappl.image_simulator.ImageSimulatorPointSource.html#snappl.image_simulator.ImageSimulatorPointSource",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ImageSimulatorStarCollection" [URL="api/snappl.image_simulator.ImageSimulatorStarCollection.html#snappl.image_simulator.ImageSimulatorStarCollection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ImageSimulatorStaticSource" [URL="api/snappl.image_simulator.ImageSimulatorStaticSource.html#snappl.image_simulator.ImageSimulatorStaticSource",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A class for static sources (galaxies) that don't vary with time."]; "ImageSimulatorPointSource" -> "ImageSimulatorStaticSource" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ImageSimulatorTransient" [URL="api/snappl.image_simulator.ImageSimulatorTransient.html#snappl.image_simulator.ImageSimulatorTransient",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "ImageSimulatorPointSource" -> "ImageSimulatorTransient" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.lightcurve Module¶
Classes¶
|
Encapsulate a single supernova (or other transient). |
|
A class to store and save lightcurve data across different SNPIT photometry codes. |
|
PurePath subclass that can make system calls. |
|
An object that might be stored in the database but that also has files on disk. |
|
Instantiate a Provenance |
|
A class to represent tables of heterogeneous data. |
|
Holds a unified logging instance that can be used throughout SNPIT code. |
|
A client for communcating with the Roman SNPIT internal database. |
|
Some specific encodings we need for the JSON use. |
|
A class to represent tables of heterogeneous data. |
Class Inheritance Diagram¶
digraph inheritanceeafedbfe20 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Lightcurve" [URL="api/snappl.lightcurve.Lightcurve.html#snappl.lightcurve.Lightcurve",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A class to store and save lightcurve data across different SNPIT photometry codes."]; "PathedObject" -> "Lightcurve" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PathedObject" [URL="api/snappl.pathedobject.PathedObject.html#snappl.pathedobject.PathedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An object that might be stored in the database but that also has files on disk."]; }snappl.logger Module¶
Classes¶
|
Holds a unified logging instance that can be used throughout SNPIT code. |
Class Inheritance Diagram¶
digraph inheritance5a93896e25 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "SNLogger" [URL="api/snappl.logger.SNLogger.html#snappl.logger.SNLogger",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Holds a unified logging instance that can be used throughout SNPIT code."]; }snappl.pathedobject Module¶
Classes¶
|
Interface for yaml config file. |
|
An object that might be stored in the database but that also has files on disk. |
Class Inheritance Diagram¶
digraph inheritance8d012bf02e { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "PathedObject" [URL="api/snappl.pathedobject.PathedObject.html#snappl.pathedobject.PathedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An object that might be stored in the database but that also has files on disk."]; }snappl.provenance Module¶
Classes¶
|
Instantiate a Provenance |
Class Inheritance Diagram¶
digraph inheritance59724cdc4f { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Provenance" [URL="api/snappl.provenance.Provenance.html#snappl.provenance.Provenance",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; }snappl.psf Module¶
Classes¶
|
Wraps a PSF. |
|
Wraps a photutils.psf.ImagePSF. |
|
A PSF stored internally in an image which is (possibly) oversampled. |
An OversampledImagePSF with a definfed serialization format. |
|
|
A YamlSerialaled_OversampledImagePSF using the Aldoroty 2025 paper PSF. |
|
Wrap the roman_imsim PSFs. |
|
Wrap the roman_imsim PSFs, only more efficiently (we hope) than ou24PSF_slow. |
|
Wrap the STPSF PSFs. |
Class Inheritance Diagram¶
digraph inheritance4d8e64aefe { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "A25ePSF" [URL="api/snappl.psf.A25ePSF.html#snappl.psf.A25ePSF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A YamlSerialaled_OversampledImagePSF using the Aldoroty 2025 paper PSF."]; "YamlSerialized_OversampledImagePSF" -> "A25ePSF" [arrowsize=0.5,style="setlinewidth(0.5)"]; "OversampledImagePSF" [URL="api/snappl.psf.OversampledImagePSF.html#snappl.psf.OversampledImagePSF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A PSF stored internally in an image which is (possibly) oversampled."]; "PSF" -> "OversampledImagePSF" [arrowsize=0.5,style="setlinewidth(0.5)"]; "PSF" [URL="api/snappl.psf.PSF.html#snappl.psf.PSF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Wraps a PSF. All roman snpit photometry code will ideally only use PSF methods defined in this base class."]; "STPSF" [URL="api/snappl.psf.STPSF.html#snappl.psf.STPSF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Wrap the STPSF PSFs."]; "PSF" -> "STPSF" [arrowsize=0.5,style="setlinewidth(0.5)"]; "YamlSerialized_OversampledImagePSF" [URL="api/snappl.psf.YamlSerialized_OversampledImagePSF.html#snappl.psf.YamlSerialized_OversampledImagePSF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An OversampledImagePSF with a definfed serialization format."]; "OversampledImagePSF" -> "YamlSerialized_OversampledImagePSF" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ou24PSF" [URL="api/snappl.psf.ou24PSF.html#snappl.psf.ou24PSF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Wrap the roman_imsim PSFs, only more efficiently (we hope) than ou24PSF_slow."]; "ou24PSF_slow" -> "ou24PSF" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ou24PSF_slow" [URL="api/snappl.psf.ou24PSF_slow.html#snappl.psf.ou24PSF_slow",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Wrap the roman_imsim PSFs."]; "PSF" -> "ou24PSF_slow" [arrowsize=0.5,style="setlinewidth(0.5)"]; "photutilsImagePSF" [URL="api/snappl.psf.photutilsImagePSF.html#snappl.psf.photutilsImagePSF",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Wraps a photutils.psf.ImagePSF. Sort of."]; "PSF" -> "photutilsImagePSF" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.sed Module¶
Classes¶
|
|
|
|
|
Initialize the SED collection with a single SED from a CSV file. |
|
Class Inheritance Diagram¶
digraph inheritance849dc4ca68 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "Flat_SED" [URL="api/snappl.sed.Flat_SED.html#snappl.sed.Flat_SED",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "SED_collection" -> "Flat_SED" [arrowsize=0.5,style="setlinewidth(0.5)"]; "OU2024_Truth_SED" [URL="api/snappl.sed.OU2024_Truth_SED.html#snappl.sed.OU2024_Truth_SED",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "SED_collection" -> "OU2024_Truth_SED" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SED_collection" [URL="api/snappl.sed.SED_collection.html#snappl.sed.SED_collection",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "Single_CSV_SED" [URL="api/snappl.sed.Single_CSV_SED.html#snappl.sed.Single_CSV_SED",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top"]; "SED_collection" -> "Single_CSV_SED" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.segmap Module¶
Classes¶
|
Encapsulate a single segmentation map. |
Class Inheritance Diagram¶
digraph inheritance3b59a31204 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "PathedObject" [URL="api/snappl.pathedobject.PathedObject.html#snappl.pathedobject.PathedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An object that might be stored in the database but that also has files on disk."]; "SegmentationMap" [URL="api/snappl.segmap.SegmentationMap.html#snappl.segmap.SegmentationMap",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Encapsulate a single segmentation map."]; "PathedObject" -> "SegmentationMap" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.spectrum1d Module¶
Classes¶
|
Encapsulate a single supernova (or other transient). |
|
Encapsulates a single 2d image. |
|
An object that might be stored in the database but that also has files on disk. |
|
Instantiate a Provenance |
|
Holds a unified logging instance that can be used throughout SNPIT code. |
|
A client for communcating with the Roman SNPIT internal database. |
|
Some specific encodings we need for the JSON use. |
|
A class to store and save single-epoch 1d transient spectra. |
Class Inheritance Diagram¶
digraph inheritance1e2467bb50 { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "PathedObject" [URL="api/snappl.pathedobject.PathedObject.html#snappl.pathedobject.PathedObject",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="An object that might be stored in the database but that also has files on disk."]; "Spectrum1d" [URL="api/snappl.spectrum1d.Spectrum1d.html#snappl.spectrum1d.Spectrum1d",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="A class to store and save single-epoch 1d transient spectra."]; "PathedObject" -> "Spectrum1d" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.utils Module¶
Functions¶
|
Return True if var is a sequence, but not a string or bytes. |
|
Check if a value represents a boolean value, and return that boolean value if it does. |
|
Parse an environment variable as a boolean. |
|
Pass either a UUID or a string representation of one, get a UUID back. |
Classes¶
|
Some specific encodings we need for the JSON use. |
Class Inheritance Diagram¶
digraph inheritancef45cd0bc1a { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "JSONEncoder" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Extensible JSON <http://json.org> encoder for Python data structures."]; "SNPITJsonEncoder" [URL="api/snappl.utils.SNPITJsonEncoder.html#snappl.utils.SNPITJsonEncoder",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="Some specific encodings we need for the JSON use."]; "JSONEncoder" -> "SNPITJsonEncoder" [arrowsize=0.5,style="setlinewidth(0.5)"]; }snappl.wcs Module¶
Classes¶
|
The base class that defines the WCS interface that should be used elsewhere. |
|
A WCS that is defined by an astropy.wcs.WCS. |
|
A WCS speicifc to Galsim. |
|
A "G" (Generalized?) WCS : https://gwcs.readthedocs.io/en/latest/ |