Feature #2018

Revise RealDataItem and the way it handles cropped experimental data

Added by pospelov about 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:19 Mar 2018
Priority:NormalDue date:
Assignee:pospelov% Done:

0%

Category:-
Target version:Sprint 37

Description

In Core/FitSuite we expect real data to be the same size as the detector.
Later on, FitSuite::getRealData and FitSuite::getSimulationData returns to the user histograms, cropped to the region of interest (if exists).

However, GUI's RealDataItem (on board of JobItem) stores already cropped data. That leads to unsafe code in FitObject::createRealDataHistogram(), FitObject::init_dataset() and FitObject::prepareFitElements()

One possible solution is to make RealDataItem always store uncropped data + ROI (for plotting). Possible drawback: huge project size.

History

#1 Updated by pospelov almost 2 years ago

  • Assignee set to pospelov

#2 Updated by pospelov almost 2 years ago

  • Status changed from Sprint to Resolved

Also available in: Atom PDF