Skip to content

Commit

Permalink
Update configurations to use large 35 pixel aperture for calibration.
Browse files Browse the repository at this point in the history
The default 12 pixel aperture is much too small for the LATISS platescale.
  • Loading branch information
erykoff committed Aug 3, 2023
1 parent 23de68c commit 08663c3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/latiss/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@
config.doWriteMatchesDenormalized = True

config.measurement.plugins["base_Jacobian"].pixelScale = 0.1

# Set the default aperture as appropriate for the LATISS platescale.
config.measurement.slots.apFlux='base_CircularApertureFlux_35_0'
config.measurement.slots.calibFlux='base_CircularApertureFlux_35_0'
4 changes: 4 additions & 0 deletions config/latiss/characterizeImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,7 @@
config.measureApCorr.sourceSelector["science"].doSignalToNoise = False

config.measurement.plugins["base_Jacobian"].pixelScale = 0.1

# Set the default aperture as appropriate for the LATISS platescale.
config.measurement.slots.apFlux='base_CircularApertureFlux_35_0'
config.measurement.slots.calibFlux='base_CircularApertureFlux_35_0'
27 changes: 27 additions & 0 deletions config/latiss/isolatedStarAssociation.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# Override calibration apertures as appropriate for LATISS platescale.
config.inst_flux_field='apFlux_35_0_instFlux'

config.extra_columns = [
'x',
'y',
'apFlux_50_0_instFlux',
'apFlux_50_0_instFluxErr',
'apFlux_50_0_flag',
'localBackground_instFlux',
'localBackground_flag',
]

config.source_selector['science'].flags.bad = [
'pixelFlags_edge',
'pixelFlags_interpolatedCenter',
'pixelFlags_saturatedCenter',
'pixelFlags_crCenter',
'pixelFlags_bad',
'pixelFlags_interpolated',
'pixelFlags_saturated',
'centroid_flag',
'apFlux_35_0_flag',
]

config.source_selector['science'].signalToNoise.fluxField = 'apFlux_35_0_instFlux'
config.source_selector['science'].signalToNoise.errField = 'apFlux_35_0_instFluxErr'

0 comments on commit 08663c3

Please sign in to comment.