bin.alphaDist.getshift

bin.alphaDist. getshift ( explist , left , right , slope , random = False ) [source]

Calculate velocity shift do to distortion depending on model used.

Parameters
left float

Minimum wavelength of the fitting region

right float

Maximum wavelength of the fitting region

slope float

Slope of the long-range distortion model

random bool (default: False)

Whether random slope should be calculated

Returns
shift float

Velocity shift due to long-range distortion effect.