Skip to content

Commit

Permalink
Update astrometry configs for LATISS
Browse files Browse the repository at this point in the history
Now that the pointing accruacy and stability has improved for AutTel,
the bbox padding for reference catalog loading can be greatly reduced.
This has the benefit of avoiding many very bad fits where the matcher
locked onto sources way outside of the true field for the exposure.
  • Loading branch information
laurenam committed Feb 20, 2023
1 parent b054b76 commit 62b11a7
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions config/latiss/calibrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,21 @@
# of up to 4 arcmin, which translates to 2400pix. We choose 3000 as a conservative limit. pixelMargin
# also increased to ensure refcat overlap when we see large pointing offsets considering a 3000pix
# offset and detector half-width of 2100pix.
config.astromRefObjLoader.pixelMargin = 900
config.astrometry.matcher.maxOffsetPix = 3000
config.astromRefObjLoader.pixelMargin = 250
config.astrometry.matcher.maxOffsetPix = 900

# Apply a magnitude limit and decrease the SNR limit as we're only a 1.2m
# and frequently take short exposures. Also, allow max rotation while the
# instrumental repeatability isn't good.
config.astrometry.referenceSelector.doMagLimit = True
config.astrometry.referenceSelector.magLimit.minimum = 1
config.astrometry.referenceSelector.magLimit.minimum = 8
config.astrometry.referenceSelector.magLimit.maximum = 18
config.astrometry.referenceSelector.magLimit.fluxField = "phot_g_mean_flux"
config.astrometry.matcher.maxRotationDeg = 5.99
config.astrometry.matcher.maxRotationDeg = 2.0

config.astrometry.sourceSelector['matcher'].minSnr = 10

config.astrometry.doMagnitudeOutlierRejection = True

# Write srcMatchFull
config.doWriteMatchesDenormalized = True

0 comments on commit 62b11a7

Please sign in to comment.