returns phase factor of fieldbag, i.e. Bloch-vector and frequency

Function signature

int JCMFieldBagPhaseFactor(doublecomplex* phaseFactor, int handle, int iField, int iSF, int ix)
Parameter in/output Description
phaseFactor output phase factor
handle input pinboard handle of fieldbag
iField output field index
iSF input sub field index
ix input 0,1,2 => kx, ky, kz; 3 => omega