BGlib.be.analysis.be_loop_fitter.shift_vdc

BGlib.be.analysis.be_loop_fitter.shift_vdc(vdc_vec)[source]

Rolls the Vdc vector by a quarter cycle

Parameters:

vdc_vec (1D numpy array) – DC offset vector

Returns:

  • shift_ind (int) – Number of indices by which the vector was rolled

  • vdc_shifted (1D numpy array) – Vdc vector rolled by a quarter cycle