Skip to content

Commit

Permalink
Update latiss_wep_align to use new ts_wep version
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegh committed Jul 24, 2024
1 parent f5cba57 commit eee40ff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 14 deletions.
1 change: 1 addition & 0 deletions doc/news/DM-41643.perf.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* Update latiss_wep_align.py to use ts_wep v9.8.0
17 changes: 3 additions & 14 deletions python/lsst/ts/externalscripts/auxtel/latiss_wep_align.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,15 +220,10 @@ def run_wep(
)

cut_out_config = CutOutDonutsScienceSensorTaskConfig()
# LATISS config parameters
cut_out_config.opticalModel = "onAxis"
cut_out_config.donutStampSize = donut_diameter
cut_out_config.donutTemplateSize = donut_diameter
cut_out_config.instObscuration = 0.3525
cut_out_config.instFocalLength = 21.6
cut_out_config.instApertureDiameter = 1.2
cut_out_config.instDefocalOffset = 32.8
cut_out_task = CutOutDonutsScienceSensorTask(config=cut_out_config)
cut_out_config.opticalModel = "onAxis"
cut_out_config.initialCutoutPadding = 40
cut_out_task = CutOutDonutsScienceSensorTask(config=cut_out_config)

camera = Latiss.getCamera()

Expand All @@ -239,12 +234,6 @@ def run_wep(
)

config = CalcZernikesTaskConfig()
# LATISS config parameters
config.opticalModel = "onAxis"
config.instObscuration = 0.3525
config.instFocalLength = 21.6
config.instApertureDiameter = 1.2
config.instDefocalOffset = 32.8
task = CalcZernikesTask(config=config, name="Base Task")

task_output = task.run(
Expand Down

0 comments on commit eee40ff

Please sign in to comment.