DonutStampSelectorTask#
- class lsst.ts.wep.task.DonutStampSelectorTask(**kwargs)#
Bases:
TaskDonut Stamp Selector uses information about donut stamp calculated at the stamp cutting out stage to select those that specified criteria.
- Parameters:
kwargs (
Any)
Methods Summary
run(donutStamps)Select good stamps and return them together with quality table.
selectStamps(donutStamps)Run the stamp selection algorithm and return the indices of donut stamps that that fulfill the selection criteria, as well as the table of calculated signal to noise measure and entropy value per donut.
Methods Documentation
- run(donutStamps)#
Select good stamps and return them together with quality table. By default all stamps are selected.
- Parameters:
donutStamps (
lsst.ts.wep.task.donutStamps.DonutStamps) – Donut postage stamps.- Returns:
struct –
- The struct contains the following data:
- donutStampsSelect :
lsst.ts.wep.task.donutStamps.DonutStampsSelected donut postage stamps.
- selected
numpy.ndarrayofbool Boolean array of stamps that were selected, same length as donutStamps.
- selected
- donutsQuality
astropy.table.QTable A table with calculated signal to noise measure, entropy value per donut, and fraction of bad pixels, together with selection outcome for all input donuts.
- donutsQuality
- Return type:
lsst.pipe.base.Struct
- selectStamps(donutStamps)#
Run the stamp selection algorithm and return the indices of donut stamps that that fulfill the selection criteria, as well as the table of calculated signal to noise measure and entropy value per donut. By default all stamps are selected.
- Parameters:
donutStamps (
lsst.ts.wep.task.donutStamps.DonutStamps) – Donut postage stamps.- Returns:
struct –
- The struct contains the following data:
- selected
numpy.ndarrayofbool Boolean array of stamps that were selected, same length as donutStamps.
- selected
- donutsQuality
astropy.table.QTable A table with calculated signal to noise measure and entropy value per donut, together with selection outcome for all input donuts.
- donutsQuality
- Return type:
lsst.pipe.base.Struct