Skip to content

Commit

Permalink
Merge pull request #1056 from lsst/tickets/DM-45541
Browse files Browse the repository at this point in the history
DM-45541: Add QPEnsemble and PZModel to storage classes and formatters
  • Loading branch information
eacharles committed Aug 15, 2024
2 parents 6280842 + cddaa8b commit 41ffdbb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions doc/changes/DM-45541.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Added ``QPEnsemble`` and ``PZModel`` to ``datastores/formatters.yaml`` and ``storageClasses.yaml`` to enable storage of the machine learning models used by photo-z algorithms as well as the photo-z estimates produced by those algorithms.
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 @@ -92,3 +92,5 @@ MultipleCellCoadd: lsst.cell_coadds.CellCoaddFitsFormatter
NNModelPackagePayload: lsst.meas.transiNet.modelPackages.NNModelPackageFormatter
Timespan: lsst.daf.butler.formatters.json.JsonFormatter
RegionTimeInfo: lsst.daf.butler.formatters.json.JsonFormatter
QPEnsemble: lsst.meas.pz.qp_formatter.QPFormatter
PZModel: lsst.meas.pz.model_formatter.ModelFormatter
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 @@ -419,3 +419,7 @@ storageClasses:
pytype: lsst.daf.butler.Timespan
RegionTimeInfo:
pytype: lsst.pipe.base.utils.RegionTimeInfo
QPEnsemble:
pytype: qp.Ensemble
PZModel:
pytype: rail.core.model.Model

0 comments on commit 41ffdbb

Please sign in to comment.