BGlib.be.analysis.utils.be_loop.projectLoop

BGlib.be.analysis.utils.be_loop.projectLoop(vdc, amp_vec, phase_vec)[source]

This function projects a single loop cycle using the amplitude and phase vectors

Parameters:
  • vdc (1D list or numpy array) – DC voltages. vector of length N

  • amp_vec (1D numpy array) – amplitude of response

  • phase_vec (1D numpy array) – phase of response

Returns:

results – Results from projecting the provided vectors with following components

’Projected Loop’1D numpy array

projected loop matrix

’Rotation Matrix’tuple

rotation angle [rad] for the projecting, as well as the offset value

’Centroid’M-length list of tuples

(x,y) positions of centroids for each projected loop

’Geometric Area’M element long numpy array

geometric area of the loop

Return type:

dictionary