BornAgain
1.18.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Namespace enclosing a number of utilities/helpers for unit converters. More...
Functions | |
std::unique_ptr< OutputData< double > > | createOutputData (const IUnitConverter &converter, Axes::Units units) |
Returns zero-valued output data array in specified units. | |
std::unique_ptr< IUnitConverter > | createConverterForGISAS (const Instrument &instrument) |
Helper factory function to use in GISASSimulation. More... | |
std::unique_ptr< IUnitConverter > | createConverter (const Simulation &simulation) |
Namespace enclosing a number of utilities/helpers for unit converters.
std::unique_ptr< IUnitConverter > UnitConverterUtils::createConverterForGISAS | ( | const Instrument & | instrument | ) |
Helper factory function to use in GISASSimulation.
Depending on the type of detector, returns either RectangularConverter or SphericalConverter.
Definition at line 36 of file UnitConverterUtils.cpp.