Defines | |
#define | ROTATE_POS(in, out, t) out.q[N]=_IQmpy(in.q[N],_IQcos(t))-_IQmpy(in.d[N],_IQsin(t));out.d[N]=_IQmpy(in.q[N],_IQsin(t))+_IQmpy(in.d[N],_IQcos(t)); |
#define | ROTATE_NEG(in, out, t) out.q[N]=_IQmpy(in.q[N],_IQcos(t))+_IQmpy(in.d[N],_IQsin(t));out.d[N]=-_IQmpy(in.q[N],_IQsin(t))+_IQmpy(in.d[N],_IQcos(t)); |
#define ROTATE_NEG | ( | in, | |||
out, | |||||
t | ) | out.q[N]=_IQmpy(in.q[N],_IQcos(t))+_IQmpy(in.d[N],_IQsin(t));out.d[N]=-_IQmpy(in.q[N],_IQsin(t))+_IQmpy(in.d[N],_IQcos(t)); |
define negative rotation of qddata (rotate to stationary coordinates out=in*exp(-j*t))
in data in the original reference frame.
out data in the rotated reference frame.
t angle of rotation.
Definition at line 64 of file FilterAndRotations.h.
#define ROTATE_POS | ( | in, | |||
out, | |||||
t | ) | out.q[N]=_IQmpy(in.q[N],_IQcos(t))-_IQmpy(in.d[N],_IQsin(t));out.d[N]=_IQmpy(in.q[N],_IQsin(t))+_IQmpy(in.d[N],_IQcos(t)); |
define positive rotation of qddata (rotate to synchronous coordinates out=in*exp(j*t))
in data in the original reference frame.
out data in the rotated reference frame.
t angle of rotation.
Definition at line 52 of file FilterAndRotations.h.