Skip to content

Commit

Permalink
re-enable oversampling on PolarizedQProbe
Browse files Browse the repository at this point in the history
  • Loading branch information
bmaranville committed Oct 25, 2024
1 parent e0a7be4 commit d010f72
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions refl1d/probe.py
Original file line number Diff line number Diff line change
Expand Up @@ -2239,6 +2239,8 @@ def __init__(
name=None,
Aguide=BASE_GUIDE_ANGLE,
H=0,
oversampling: Optional[int] = None,
oversampling_seed: int = 1,
):
if any([mm, mp, pm, pp]):
if xs is not None:
Expand All @@ -2255,6 +2257,8 @@ def __init__(
self.unique_L = None
self.Aguide = Parameter.default(Aguide, name="Aguide " + self.name, limits=[-360, 360])
self.H = Parameter.default(H, name="H " + self.name)
if oversampling is not None:
self.oversample(oversampling, oversampling_seed)
self.Q, self.dQ = Qmeasurement_union(self.xs)
self.calc_Qo = self.Q

Expand Down

0 comments on commit d010f72

Please sign in to comment.