- 
                Notifications
    You must be signed in to change notification settings 
- Fork 34
Closed
Closed
Copy link
Labels
NeededGSAS-II InadequaciesGSAS-II InadequaciesORNLBug or need identified/requested by ORNL user/staffBug or need identified/requested by ORNL user/staffenhancementNew feature or requestNew feature or request
Description
If one simulates a pattern and then reads that pattern back in, the x values are shifted w/r to where the peaks are computed. This seems to be due to this: TOF values are reported at the edge of the bin, but in GSAS-II the intensity is computed at the mid-point for the bin, so x-values used internally are for the bin midpoints (at least I think this is correct). See Note #249.
This creates a confusing situation where GSAS-II reads in TOF bin edge values but exports TOF midpoint values. This means that a shift is needed to be applied to read in exported x positions. I’m wondering if histogram exports should be shifted so that imports and exports are consistent?
- We probably should not provide any shift (or perhaps make the shift as an option for G2PwdrData.getdata, what is going on needs to be documented there.
Metadata
Metadata
Assignees
Labels
NeededGSAS-II InadequaciesGSAS-II InadequaciesORNLBug or need identified/requested by ORNL user/staffBug or need identified/requested by ORNL user/staffenhancementNew feature or requestNew feature or request