Commit 0d42c984 authored by Zhang, Yuanpeng's avatar Zhang, Yuanpeng
Browse files

initialized repo

parents
Loading
Loading
Loading
Loading

.gitignore

0 → 100644
+3 −0
Original line number Diff line number Diff line
__pycache__
client.py
*.pyc
+167 −0
Original line number Diff line number Diff line
#
# Top level control paramters
#
auto_reduction:
  auto_merge_runs:  true  # whether to merge similar scans from same experiment
#
# Fields used to decide if scans can be merged
#
# NOTE: Each compare field can have more than one criteria listed. The auto merge
#       script will start from LEFT to RIGHT. If none of the columns can be used,
#       a warning will be sent to the console and this field will not be used to
#       select scans for merging.
# NOTE: The convention for setting the columns is that the low/high bound should be
#       INCREASING from LEFT to RIGHT.
compare_fields:
  # Lower sample stage horizontal translation
  stl:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Upper sample stage horizontal translation
  stu:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Bottom absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_bt:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Top absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_tp:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Left absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_lf:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Right absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_rt:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Monochromator rotation motor to select wavelengths
  m1:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Monochromator stage translation to align the monochromator
  mtrans:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Motor to drive pyrolytic graphite filter in or out of the beam
  pgfilter:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Pre-sample collimator rotation motor to align collimator with beam
  # direction
  coll:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Motor to drive the pre-sample collimator in or out of the beam
  colltrans:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Rotates upper portion of the sample stage above stl, stu
  s1:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Rotation motor for the 3-sample stick
  smpl_stk:
    low:       [-360.0]
    high:      [ 360.0]
    tolerance: [   0.5]
  # Sample temperature.
  # NOTE: We will check if the val falls in [0.0, 1.4] first,
  #       then (1.4, 1000].
  #       If the val falls out of both, do not use sample temperature
  #       to select similar scans
  sample:
    low:        [0.00,    1.40]
    high:       [1.40, 1000.00]
    tolerance:  [0.05,    0.50]
  # Magnetic field when running a cryomagnet sample environment
  persistent_field:
    low:       [-10.0]
    high:      [ 10.0]
    tolerance: [  0.1]
  # Position of the 6 sample room temperature carousel
  robot:
    low:       [-360.0]
    high:      [ 360.0]
    tolerance: [   1.0]
  # Flipper guide field when running polarization
  Fguide:
    low:       [-10.0]
    high:      [ 10.0]
    tolerance: [  0.2]
  # Horizontal guide field when running polarization
  Hguide:
    low:       [-10.0]
    high:      [ 10.0]
    tolerance: [  0.2]
  # Vertical guide field when running polarization
  Vguide:
    low:       [-10.0]
    high:      [ 10.0]
    tolerance: [  0.2]
  # Sample temperature for dilution experiments
  dr_tsample:
    low:       [  0.001]
    high:      [  1.500]
    tolerance: [  0.010]
  # Sample temperature for the 3He low temperature insert
  # Calibrated for low temperature
  lt:
    low:       [   0.10]
    high:      [  50.00]
    tolerance: [   0.05]
  # Sample pressure in Harwood pressure cell
  hi_pressure:
    low:       [    0.0]
    high:      [ 1000.0]
    tolerance: [    0.5]
  # Translation of the sample stage in the vertical direction
  z_stage:
    low:       [-50.0]
    high:      [ 50.0]
    tolerance: [  0.5]
  # Rotation of the whole sample stage
  bottom_rot:
    low:       [-360.0]
    high:      [ 360.0]
    tolerance: [   0.5]
  # Translation of the neutron camera and post sample absorber
  camtrans:
    low:       [ -1000.0]
    high:      [  1000.0]
    tolerance: [     0.1]
  # Sample temperature for the 3He low temperature insert
  # Calibrated for high temperature
  ht:
    low:       [  0.0]
    high:      [300.0]
    tolerance: [  0.5]
  # Sample temperature in degrees Celsius when running the furnace
  Furnace_temp:
    low:       [   0.0]
    high:      [2000.0]
    tolerance: [   0.5]
  # Temperature at low temperature when pressure going above 4 Kbar
  capillary:
    low:       [  0.00]
    high:      [300.00]
    tolerance: [  0.05]
 No newline at end of file
+176 −0
Original line number Diff line number Diff line
#
# Top level control paramters
#
auto_reduction:
  auto_merge_runs:  true  # whether to merge similar scans from same experiment
#
# Fields used to decide if scans can be merged
#
# NOTE: Each compare field can have more than one criteria listed. The auto merge
#       script will start from LEFT to RIGHT. If none of the columns can be used,
#       a warning will be sent to the console and this field will not be used to
#       select scans for merging.
# NOTE: The convention for setting the columns is that the low/high bound should be
#       INCREASING from LEFT to RIGHT. 
compare_fields:
  # Lower sample stage horizontal translation
  stl:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Upper sample stage horizontal translation
  stu:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Bottom absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_bt:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Top absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_tp:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Left absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_lf:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Right absorbing slit before the sample used to cut the beam size to match
  # sample size.
  slit_pre_rt:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Monochromator rotation motor to select wavelengths
  m1:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Monochromator stage translation to align the monochromator
  mtrans:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Motor to drive pyrolytic graphite filter in or out of the beam
  pgfilter:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.5]
  # Pre-sample collimator rotation motor to align collimator with beam
  # direction
  coll:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Motor to drive the pre-sample collimator in or out of the beam
  colltrans:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.1]
  # Rotates upper portion of the sample stage above stl, stu
  s1:
    low:       [-1000.0]
    high:      [ 1000.0]
    tolerance: [    0.5]
  # Rotation motor for the 3-sample stick
  smpl_stk:
    low:       [-360.0]
    high:      [ 360.0]
    tolerance: [   0.5]
  # Sample temperature.
  # NOTE: We will check if the val falls in [0.0, 1.4] first,
  #       then (1.4, 1000].
  #       If the val falls out of both, do not use sample temperature
  #       to select similar scans
  sample:
    low:        [0.01,    1.40]
    high:       [1.40, 1000.00]
    tolerance:  [0.05,    0.50]
  # Sample temperature when running the ACV Heliox with all temperature sensors recording
  acv_he3pot:
    low:       [   0.10]
    high:      [ 300.00]
    tolerance: [   0.04]
  # Sample temperature when running the JANIS. This is the sensor changed by high temperature group. May be renamed since non-standard.
  dt-670:
    low:       [   1.00]
    high:      [ 300.00]
    tolerance: [   0.40]
  # Magnetic field when running a cryomagnet sample environment
  persistent_field:
    low:       [-20.0]
    high:      [ 20.0]
    tolerance: [  0.1]
  # Position of the 6 sample room temperature carousel
  robot:
    low:       [-360.0]
    high:      [ 360.0]
    tolerance: [   1.0]
  # Flipper guide field when running polarization
  fguide:
    low:       [-50.0]
    high:      [ 50.0]
    tolerance: [  0.1]
  # Horizontal guide field when running polarization
  hguide:
    low:       [-50.0]
    high:      [ 50.0]
    tolerance: [  0.1]
  # Vertical guide field when running polarization
  vguide:
    low:       [-50.0]
    high:      [ 50.0]
    tolerance: [  0.1]
  # Sample temperature for dilution experiments
  dr_tsample:
    low:       [  0.001]
    high:      [  1.500]
    tolerance: [  0.010]
  # Sample temperature for the 3He low temperature insert
  # Calibrated for low temperature
  lt:
    low:       [   0.10]
    high:      [  50.00]
    tolerance: [   0.05]
  # Sample pressure in Harwood pressure cell
  hi_pressure:
    low:       [    0.0]
    high:      [ 1000.0]
    tolerance: [    0.5]
  # Translation of the sample stage in the vertical direction
  z_stage:
    low:       [-50.0]
    high:      [ 50.0]
    tolerance: [  0.5]
  # Rotation of the whole sample stage
  bottom_rot:
    low:       [-360.0]
    high:      [ 360.0]
    tolerance: [   0.5]
  # Translation of the neutron camera and post sample absorber
  camtrans:
    low:       [ -1000.0]
    high:      [  1000.0]
    tolerance: [     0.2]
  # Sample temperature for the 3He low temperature insert
  # Calibrated for high temperature
  ht:
    low:       [  0.0]
    high:      [300.0]
    tolerance: [  0.5]
  # Sample temperature in degrees Celsius when running the furnace
  Furnace_temp:
    low:       [   0.0]
    high:      [2000.0]
    tolerance: [   1.0]
  # Temperature at low temperature when pressure going above 4 Kbar
  capillary:
    low:       [  0.00]
    high:      [300.00]
    tolerance: [  0.05]
+0 −0

File added.

Preview size limit exceeded, changes collapsed.

+0 −0

File added.

Preview size limit exceeded, changes collapsed.