Name
CL_ev_defSensor — Sensor definition
Calling Sequence
sensor = CL_ev_defSensor(name,typ,X,Y,Z,semiAngle)
Description
-
Returns an mlist of type sensor. A sensor contains name, type of sensor, X, Y and Z coordinates
and semiAngle in radians ( mlist(['CLsensor','name','type','X','Y','Z','semiAngle']) ).
This type has some overloaded functions:
-->number of sensors: size(sensors)
-->get some sensors: sensors([1:3 10])
-->insert sensors: sensors(3)=old_sensors(1)
- Last update : 31/01/2007
Parameters
- name:
names of the sensors [string] (1xN)
- type:
types of sensors. 0=antenna, 1=, 2=, 3= (1xN)
- X:
X direction cosine (1xN)
- Y:
Y direction cosine (1xN)
- Z:
Z direction cosine (1xN)
- semiAngle:
semi angle of the cone of the instrument [rad] (1xN)
Examples
See 'CelestLab > Demos > ORBITAL_EVENTS > events' for examples