Skip to content

Commit

Permalink
Refs #16. instruments.sequoia: support violini workflow method
Browse files Browse the repository at this point in the history
  • Loading branch information
yxqd committed Apr 17, 2019
1 parent f4795af commit bd5dada
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dgsres/instruments.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ class arcs:
def scattering_angle_constraints(cls, theta, phi):
return ((theta<135.) * (theta>-28)) * (phi<26) * (phi>-27)


class sequoia:

instrument = sx.instrument(
name = 'SEQ',
detsys_radius = "5.5*meter",
L_m2s = "20.05*meter",
L_m2fc = "18*meter",
offset_sample2beam = "-0.15*meter" # offset from sample to saved beam. don't change this unless you are sure what you are doing
)

Expand All @@ -40,6 +41,13 @@ class sequoia:
def scattering_angle_constraints(cls, theta, phi):
return ((theta<60.) * (theta>-30)) * (phi<18) * (phi>-18)

class violini:

tau_P = 10
tau_M = 8
sigma_thetai = 0.01
sigma_phii = 0.01


class cncs:

Expand Down

0 comments on commit bd5dada

Please sign in to comment.