nmrglue.fileio.bruker.scale_pdata

nmrglue.fileio.bruker.scale_pdata(dic, data, reverse=False)[source]

Scale Bruker processed data using parameters from the procs file.

Parameters
dicdict

Dictionary of Bruker parameters.

datandarray

Array of NMR data.

reverseBool

True to reverse the scaling, i.e. multiply by the scaling factor rather than divide

Returns
sdataarray

Scaled data.