Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Exploratory][Story] New option in configuration file to split/sum with periodic log profiles in EQSANS #22

Open
glass-ships opened this issue Dec 17, 2024 · 1 comment

Comments

@glass-ships
Copy link
Member

As instrument scientists working at EQSANS we want to add new options in configuration file to split and sum up the data according to cyclic log profiles so that we can conduct experiment with oscillating fields (magnetic, temperature, etc.) in short periods and still obtain enough statistics by repetition and overlap these periods all together.

=======================================================================

Parent Children

Acceptance Criteria:

auto-detection on cycles

Assumption: the boundary between 2 adjacent cycles is well-defined. The sample log value's noise could be neglected.
User specifies:
relative time (to run start) for the beginning of first cycle, say T0, which does not need to be precise
number of slices inside each cycle (for even slices) or duration of each slices (for arbitrary slices)

In this exploratory story the feasibility of defining a clear boundary between periods shall be explored. An auto-detection feature shall be implemented as possible.

**The ability of hard wire the period with a preset time has to be retained. **

The user (instrument scientists from EQSANS or a general user conducting experiment at GPSANS) shall be able to specify an optional block in configuration file in order to split and sum the data

  1. Users is able to set the time interval of the period
  2. Users is able to set an initial time when the repetition starts, as T0
  3. Users shall be able to specify how many time slices in one period to observe the concerned physical transitions.
  4. There shall not be too much sacrifice in efficiency during reduction

Description, Additional Detail, Context:

This is an exploratory story to determine the feasibility of seeking the boundary of periods (not based on time)

A tentative design in this additional optional configuration may read as follows,

{
split_and_sum: {
    log_name: BL6:SE::SC:Mot.RBV, # the sample log variable name with periodic variable
    start_time:0, # seconds from 0
    period: 20, # in seconds
    num_of_slices: 1e3 # number of time slices in one period
}

}

This feature depends on an Enabler story that shall be conducted in Mantid #882

This story can only be accomplished after the above Enabler is completed.

The example is placed in the folder /SNS/EQSANS/shared/codereview/test_ccd/periodic_slice/ image

The periodic sample log is BL6:SE::SC:Mot.RBV. It is agreed that the boundary of periods is clear and the noise is moderate and not interfering.

It shows the displacement of the sliding plate in ns scale. And you can see the one periodic motion takes 20 seconds. What we want to see is the I(q; t) where 0 <= t < 20 s
The number of bins within this periodic time shall be adjustable (by integer number). As a reference, for EQSANS, the time bin is 0.5-2.0 seconds, roughly speaking.

@glass-ships
Copy link
Member Author

This issue was migrated from code.ornl.gov.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant