scipp / esspolarization

Polarization data reduction for the European Spallation Source
https://scipp.github.io/esspolarization/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Next steps #44

Closed SimonHeybrock closed 2 months ago

SimonHeybrock commented 2 months ago

Based on discussion today:

  1. Ignore problem of getting spin channels and meta data from file, set reduced data by hand:
    pipeline = sciline.Pipeline(providers)
    pipeline[pol.base.ReducedSampleDataBySpinChannel[pol.Down, pol.Down]] = None
    pipeline[pol.base.ReducedSampleDataBySpinChannel[pol.Up, pol.Down]] = None
    pipeline[pol.base.ReducedSampleDataBySpinChannel[pol.Down, pol.Up]] = None
    pipeline[pol.base.ReducedSampleDataBySpinChannel[pol.Up, pol.Up]] = None
    pipeline[pol.base.ReducedDirectBeamDataNoCell] = None
    pipeline[pol.base.ReducedDirectBeamData[pol.Analyzer,pol.Polarized]] = None
    pipeline[pol.base.ReducedDirectBeamData[pol.Polarizer,pol.Polarized]] = None
  2. Focus on computing transmission, ignore sample data for now. For example, get pol.He3Transmission[pol.Polarizer].
  3. Set all missing input params.
  4. Implement missing pieces in workflow, left to right. For example, he3_polarization function.