GenerateHipsTask#

class lsst.pipe.tasks.hips.GenerateHipsTask(*, config: PipelineTaskConfig | None = None, log: logging.Logger | LsstLogAdapter | None = None, initInputs: dict[str, Any] | None = None, **kwargs: Any)#

Bases: PipelineTask

Task for making a HiPS tree with FITS and grayscale PNGs.

Attributes Summary

Methods Summary

run(bands, max_order, hips_exposure_handle_dict)

Run the GenerateHipsTask.

runQuantum(butlerQC, inputRefs, outputRefs)

Do butler IO and transform to provide in memory objects for tasks run method.

Attributes Documentation

color_task = False#

Methods Documentation

run(bands, max_order, hips_exposure_handle_dict, do_color=False)#

Run the GenerateHipsTask.

Parameters#

bandslist [ `str ]

List of bands to be processed (or single band).

max_orderint

HEALPix order of the maximum (native) HPX exposures.

hips_exposure_handle_dictdict {int: lsst.daf.butler.DeferredDatasetHandle}

Dict of handles for the HiPS high-resolution exposures. Key is (pixel number, band).

do_colorbool, optional

Do color pngs instead of per-band grayscale.

runQuantum(butlerQC, inputRefs, outputRefs)#

Do butler IO and transform to provide in memory objects for tasks run method.

Parameters#

butlerQCQuantumContext

A butler which is specialized to operate in the context of a lsst.daf.butler.Quantum.

inputRefsInputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined input/prerequisite connections.

outputRefsOutputQuantizedConnection

Datastructure whose attribute names are the names that identify connections defined in corresponding PipelineTaskConnections class. The values of these attributes are the lsst.daf.butler.DatasetRef objects associated with the defined output connections.