Skip to content

Commit

Permalink
Add persistence for Spectractor spectra and images
Browse files Browse the repository at this point in the history
  • Loading branch information
mfisherlevine committed Jan 20, 2022
1 parent 8be9c34 commit 93a4267
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/lsst/daf/butler/configs/datastores/formatters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,3 +78,5 @@ ExtendedPsf: lsst.obs.base.formatters.fitsGeneric.FitsGenericFormatter
HealSparseMap: lsst.pipe.tasks.healSparseMapping.HealSparseMapFormatter
ButlerLogRecords: lsst.daf.butler.formatters.logs.ButlerLogRecordsFormatter
TaskMetadata: lsst.daf.butler.formatters.json.JsonFormatter
SpectractorSpectrum: lsst.atmospec.formatters.SpectractorSpectrumFormatter
SpectractorImage: lsst.atmospec.formatters.SpectractorImageFormatter
4 changes: 4 additions & 0 deletions python/lsst/daf/butler/configs/storageClasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -278,3 +278,7 @@ storageClasses:
converters:
# Compatible python types.
lsst.daf.base.PropertySet: lsst.pipe.base.TaskMetadata.from_metadata
SpectractorSpectrum:
pytype: spectractor.extractor.spectrum.Spectrum
SpectractorImage:
pytype: spectractor.extractor.images.Image

0 comments on commit 93a4267

Please sign in to comment.