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 Aug 21, 2024
1 parent 9ba79b0 commit 851096b
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 v10
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 @@ -109,7 +109,7 @@ async def run_align(self) -> LatissAlignResults:
"Running wep with: "
f"intra_visit_id={self.intra_visit_id}, "
f"extra_visit_id={self.extra_visit_id}, "
f"donut_diameter={2 * self.side}, "
f"donut_diameter={2*self.side}, "
f"timeout_get_image={self.timeout_get_image}. "
)

Expand Down Expand Up @@ -220,14 +220,9 @@ 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_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 851096b

Please sign in to comment.