Skip to content
Snippets Groups Projects
Commit 1f6a685c authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

inline fct call -> break one dependency on ItemToAxis

parent fdba4904
No related branches found
No related tags found
1 merge request!1568preliminaries for #562
......@@ -420,8 +420,10 @@ const ICoordSystem* SpecularInstrumentItem::createCoordSystem() const
native_units);
}
return new AngularReflectometryCoords(scanItem()->wavelength(), *axis_item->itemToAxis(1.0),
Coords::DEGREES);
FixedBinAxis axis(axis_item->title().toStdString(), axis_item->binCount(), axis_item->min(),
axis_item->max());
return new AngularReflectometryCoords(scanItem()->wavelength(), axis, Coords::DEGREES);
}
ISimulation* SpecularInstrumentItem::createSimulation(const MultiLayer& sample) const
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment