LSST Applications g0fba68d861+05a5e06e50,g1fd858c14a+904f1f4196,g2c84ff76c0+247cd845a2,g2c9e612ef2+f5117f1d55,g35bb328faa+fcb1d3bbc8,g4af146b050+123c2f4d45,g4d2262a081+a9e7a6e053,g4e0f332c67+c58e4b632d,g53246c7159+fcb1d3bbc8,g5a012ec0e7+ac98094cfc,g60b5630c4e+f5117f1d55,g67b6fd64d1+dd0349c22b,g78460c75b0+2f9a1b4bcd,g786e29fd12+cf7ec2a62a,g7b71ed6315+fcb1d3bbc8,g87b7deb4dc+2a1aa4536a,g8852436030+d21aad2af4,g89139ef638+dd0349c22b,g8d6b6b353c+f5117f1d55,g9125e01d80+fcb1d3bbc8,g989de1cb63+dd0349c22b,g9f33ca652e+0a580a37dd,g9f7030ddb1+ae84e0d5a5,ga2b97cdc51+f5117f1d55,gabe3b4be73+1e0a283bba,gb1101e3267+1d994e7598,gb58c049af0+f03b321e39,gb89ab40317+dd0349c22b,gcca6a94b71+4ed007ada1,gcf25f946ba+d21aad2af4,gd315a588df+9d9c5ccff1,gd6cbbdb0b4+75aa4b1db4,gd9a9a58781+fcb1d3bbc8,gde0f65d7ad+6fce216140,ge278dab8ac+c61fbefdff,ge410e46f29+dd0349c22b,ge82c20c137+e12a08b75a,gf67bdafdda+dd0349c22b,v28.0.2.rc1
LSST Data Management Base Package
|
Options for writing an image to FITS. More...
#include <fits.h>
Public Member Functions | |
template<typename T> | |
ImageWriteOptions (image::Image< T > const &image) | |
Construct with default options for images. | |
template<typename T> | |
ImageWriteOptions (image::Mask< T > const &mask) | |
Construct with default options for masks. | |
ImageWriteOptions (ImageCompressionOptions const &compression_=ImageCompressionOptions(ImageCompressionOptions::NONE), ImageScalingOptions const &scaling_=ImageScalingOptions()) | |
Construct with specific compression and scaling options. | |
ImageWriteOptions (ImageScalingOptions const &scaling_) | |
Construct with specific scaling options. | |
ImageWriteOptions (daf::base::PropertySet const &config) | |
Construct from a PropertySet. | |
Static Public Member Functions | |
static std::shared_ptr< daf::base::PropertySet > | validate (daf::base::PropertySet const &config) |
Validate a PropertySet. | |
Public Attributes | |
ImageCompressionOptions | compression |
Options controlling compression. | |
ImageScalingOptions | scaling |
Options controlling scaling. | |
Options for writing an image to FITS.
An image being written to FITS may be scaled (quantised) and/or compressed. This struct is a container for options controlling each of those separately.
|
inlineexplicit |
Construct with default options for images.
Definition at line 229 of file fits.h.
|
inlineexplicit |
Construct with default options for masks.
Definition at line 233 of file fits.h.
|
inlineexplicit |
Construct with specific compression and scaling options.
Definition at line 236 of file fits.h.
|
inlineexplicit |
lsst::afw::fits::ImageWriteOptions::ImageWriteOptions | ( | daf::base::PropertySet const & | config | ) |
Construct from a PropertySet.
The PropertySet should include the following elements:
Use the 'validate' method to set default values for the above.
'scaling.maskPlanes' is the only entry that is allowed to be missing (because PropertySet can't represent an empty array); when it is missing, it is interpreted as an empty array.
[in] | config | Configuration of image write options |
Definition at line 1800 of file fits.cc.
|
static |
Validate a PropertySet.
Returns a validated PropertySet with default values added, suitable for use with the constructor.
For details on what elements may be included in the input, see ImageWriteOptions::ImageWriteOptions(daf::base::PropertySet const&).
[in] | config | Configuration of image write options |
lsst::pex::exceptions::RuntimeError | if entry is not recognized. |
Definition at line 1829 of file fits.cc.
ImageCompressionOptions lsst::afw::fits::ImageWriteOptions::compression |
ImageScalingOptions lsst::afw::fits::ImageWriteOptions::scaling |