GenerateHipsConfig#
- class lsst.pipe.tasks.hips.GenerateHipsConfig(*args, **kw)#
Bases:
PipelineTaskConfigConfiguration parameters for GenerateHipsTask.
Attributes Summary
Allsky tile size; must be power of 2.
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
Extension for the presisted image, must be png or webp (
str, default'png')URI to HiPS base for output.
Minimum healpix order for HiPS tree.
If this is set to True, each of the highest order hips pixels will be put into their own quanta, and can be run in parallel.
AsinhMapping intensity to be mapped to black for grayscale png scaling.
AsinhMapping softening parameter (Q) for grayscale png scaling.
AsinhMapping linear stretch for grayscale png scaling.
Configuration for properties file.
Flag to enable/disable saving of log output for a task, enabled by default.
This option should be used if in another task instance parallel_highest_order was set to True.
Methods Summary
validate()Validate the Config, raising an exception if invalid.
Attributes Documentation
- allsky_tilesize#
Allsky tile size; must be power of 2. HiPS standard recommends 64x64 tiles. (
int, default64)
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- file_extension#
Extension for the presisted image, must be png or webp (
str, default'png')Allowed values:
'png'Use the png image extension
'webp'Use the webp image extension
'None'Field is optional
- hips_base_uri#
URI to HiPS base for output. (
str)
- min_order#
Minimum healpix order for HiPS tree. (
int, default3)
- parallel_highest_order#
If this is set to True, each of the highest order hips pixels will be put into their own quanta, and can be run in parallel. The trade off is the highest order must be run alone by setting min_order to be the the same as the healpix dimension. This will skip writing all sky info, which must be done in another invocation of this task. (
bool, defaultFalse)
- png_gray_asinh_minimum#
AsinhMapping intensity to be mapped to black for grayscale png scaling. (
float, default0.0)
- png_gray_asinh_softening#
AsinhMapping softening parameter (Q) for grayscale png scaling. (
float, default8.0)
- png_gray_asinh_stretch#
AsinhMapping linear stretch for grayscale png scaling. (
float, default2.0)
- properties#
Configuration for properties file. (
HipsPropertiesConfig, default<class 'lsst.pipe.tasks.hips.HipsPropertiesConfig'>)
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- skip_highest_image#
This option should be used if in another task instance parallel_highest_order was set to True. This option will skip making and writing png for the highest order. (
bool, defaultFalse)
Methods Documentation
- validate()#
Validate the Config, raising an exception if invalid.
Raises#
- lsst.pex.config.FieldValidationError
Raised if verification fails.
Notes#
The base class implementation performs type checks on all fields by calling their
validatemethods.Complex single-field validation can be defined by deriving new Field types. For convenience, some derived
lsst.pex.config.Field-types (ConfigFieldandConfigChoiceField) are defined inlsst.pex.configthat handle recursing into subconfigs.Inter-field relationships should only be checked in derived
Configclasses after calling this method, and base validation is complete.