Scanner¶
-
class
pylayers.measures.parker.smparker.Scanner(port='not connected', anchors={}, reset=True, vel=15, acc=15, **kwargs)[source]¶ Bases:
pylayers.util.project.PyLayersThis class handles the FACS (Four Axes Channel Scanner)
Methods Summary
check_pa()home([cmd, init, vel])allows a return home for 3 axes
meas(A[, _fileh5, gcal, ical, vel, Nmeas, …])measure MIMO channel over a set of points from AntArray and store in h5
mv([pt, at, frame, vel])move to target point
origin([cmd, p0, ang0])reset()reset and power all axes
upd_pos(pH)update position
Methods Documentation
-
home(cmd='set', init=True, vel=10)[source]¶ allows a return home for 3 axes
cmd : set init : boolean (False) vel : velocity (10) frame : landmark {‘H’|’A’|’G’}
>>> from pylayers.measures.parker import smparker >>> S = smparker.Scanner() >>> S.home('go')
-
meas(A, _fileh5='test.h5', gcal=1, ical=1, vel=15, Nmeas=1, pAnt=array([1.6, 5.2, 1.6]), vAnt=array([1., 0., 0.]), comment='test', author='mamadou')[source]¶ measure MIMO channel over a set of points from AntArray and store in h5
A : Aarray _fileh5 : string
name of the h5 file containing calibration data
gcal : calibration group ical : calibration index vel : int
scanner moving velocity
- Nmeasint
Number of measurement
- pAntnp.array(,3)
Coordinates of non scanner antenna phase center
- vAntnp.array(,3)
Coordinates of non scanner antenna unitary vector
-
mv(pt=array([0., 0., 0.]), at=0, frame='A', vel=20)[source]¶ move to target point
- pttarget position (pt=np.array([0,0,0]))
for axe z, if value is positif (+), it moves up and else moves down
at : target angle frame : {‘G’|’H’|’A’}
determine in which frame is expressed pt (default A)
- velint
velocity
-