pace-neutrons / Horace

Horace is a suite of programs for the visualization and analysis of large datasets from time-of-flight neutron inelastic scattering spectrometers.
https://pace-neutrons.github.io/Horace/stable/
GNU General Public License v3.0
8 stars 5 forks source link

modify Experiment to realign legacy aligned IX_experiment #1616

Open abuts opened 7 months ago

abuts commented 7 months ago

Legacy aligned experiment stores its alignment matrix in u_to_rlu matrix. Horace-4 aligned experiment stores its aligmnent in goniometer modification, like one provided to gen_sqw if used to generate realigned data.

Recentrly we introduced modifications, which recover Horace-4 realigned data from legacy aligned data, namely modifies axes_block, projection and pixels.alighnment_matr .

Such operation can be performed for experiment (IX_experiment) too.

This ticket is part of instr_proj work and changes to Tobyfit to support generic projection