Skip to content

Commit

Permalink
Fixing naming of BendingModeToForce
Browse files Browse the repository at this point in the history
  • Loading branch information
gmegh committed Sep 24, 2024
1 parent 9543a9d commit 962da29
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions python/lsst/ts/mtaos/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
import yaml
from lsst.afw.image import VisitInfo
from lsst.daf import butler as dafButler
from lsst.ts.ofc import OFC, BendingMode
from lsst.ts.ofc import OFC, BendModeToForce
from lsst.ts.ofc.utils.ofc_data_helpers import get_intrinsic_zernikes, get_sensor_names
from lsst.ts.salobj import DefaultingValidator
from lsst.ts.utils import make_done_future
Expand Down Expand Up @@ -394,7 +394,7 @@ def get_m1m3_bending_mode_stresses(self) -> np.ndarray:
np.ndarray
Bending mode stresses for M1M3.
"""
m1m3_bending_mode = BendingMode("M1M3", self.ofc.ofc_data)
m1m3_bending_mode = BendModeToForce("M1M3", self.ofc.ofc_data)
indices = self.ofc.ofc_data.dof_indices["M1M3_bending"]

m1m3_stresses = m1m3_bending_mode.stresses(
Expand All @@ -411,7 +411,7 @@ def get_m2_bending_mode_stresses(self) -> np.ndarray:
np.ndarray
Bending mode stresses for M2.
"""
m2_bending_mode = BendingMode("M2", self.ofc.ofc_data)
m2_bending_mode = BendModeToForce("M2", self.ofc.ofc_data)
indices = self.ofc.ofc_data.dof_indices["M2_bending"]

m2_stresses = m2_bending_mode.stresses(
Expand Down

0 comments on commit 962da29

Please sign in to comment.