Skip to content

Commit

Permalink
Add exposureSummaryStats configs for effTime
Browse files Browse the repository at this point in the history
  • Loading branch information
kadrlica committed Jan 31, 2024
1 parent 2c916f5 commit 704c83d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions config/calibrate.py
Expand Up @@ -41,3 +41,6 @@

config.measurement.plugins.names |= ["base_Jacobian", "base_FPPosition"]
config.measurement.plugins["base_Jacobian"].pixelScale = 0.168

# Exposure summary stats
config.computeSummaryStats.load(os.path.join(ObsConfigDir, "computeExposureSummaryStats.py"))
3 changes: 3 additions & 0 deletions config/calibrateImage.py
Expand Up @@ -19,3 +19,6 @@
colors["g-r"] = ColorLimit(primary="g_flux", secondary="r_flux", minimum=0.0)
colors["r-i"] = ColorLimit(primary="r_flux", secondary="i_flux", maximum=0.5)
config.photometry.colorterms.load(os.path.join(config_dir, 'colorterms.py'))

# Exposure summary stats
config.compute_summary_stats.load(os.path.join(config_dir, "computeExposureSummaryStats.py"))
1 change: 0 additions & 1 deletion config/computeExposureSummaryStats.py
@@ -1,6 +1,5 @@
import os.path

print("-----HELLO WORLD-----")
config_dir = os.path.dirname(__file__)

# Derived from HSC PDR2 reprocessing v24.1.0 (DM-39132)
Expand Down
6 changes: 6 additions & 0 deletions config/updateVisitSummary.py
@@ -0,0 +1,6 @@
#!/usr/bin/env python
import os.path

ObsConfigDir = os.path.dirname(__file__)

config.compute_summary_stats.load(os.path.join(ObsConfigDir, "computeExposureSummaryStats.py"))

0 comments on commit 704c83d

Please sign in to comment.