Class: AstroSubframeOrganizer::PathBuilders::DarkPathBuilder
- Inherits:
-
BasePathBuilder
- Object
- BasePathBuilder
- AstroSubframeOrganizer::PathBuilders::DarkPathBuilder
- Defined in:
- lib/astro_subframe_organizer/path_builders/dark_path_builder.rb
Overview
Builds folder paths for dark calibration frames.
Dark frames are organized into folders by the following keywords, which allow WBPP to automatically match darks to lights during calibration:
**Normal Darks:**
- Dark_ISO_<value>_EXP_<value>_CCD-TEMP_<value>_CAMERA_<model>_MONTH_<YYYY-MM>
These keywords enable matching darks to lights based on ISO, exposure time, CCD
temperature, and the season (month) when captured. Temperature matching in WBPP
allows for +/- 1°C variation to accommodate uncooled cameras.
**Flat Darks (short exposure darks < 10 seconds):**
- DarkFlat_FLATSET_<date>_ISO_<value>_EXP_<value>_Bin_<value>_CAMERA_<model>
Flat darks are grouped with their corresponding flat set using the FLATSET keyword.
Temperature is not included since flats and flat darks are captured at roughly the
same time under similar conditions. These are organized together so WBPP can load
them as a unit during the flat field calibration step.
See README.md for details on WBPP_Darks and WBPP_Flats process icons.
Instance Method Summary collapse
-
#build ⇒ String
The folder path for this dark frame.
Methods inherited from BasePathBuilder
Constructor Details
This class inherits a constructor from AstroSubframeOrganizer::PathBuilders::BasePathBuilder
Instance Method Details
#build ⇒ String
Returns The folder path for this dark frame.
28 29 30 31 32 33 34 |
# File 'lib/astro_subframe_organizer/path_builders/dark_path_builder.rb', line 28 def build if @metadata.dark_flat? build_flat_dark_path else build_normal_dark_path end end |