uwacan.sensor#
- sensor(sensor, /, sensitivity=None, depth=None, position=None, latitude=None, longitude=None)[source]#
Collect sensor information.
Typical sensor information is the position, sensitivity, and deployment depth. The position can be given as a string, a tuple, or separate longitude and latitudes. This factory function will return a
SensororSensorPositiondepending on if a position is provided. All arguments exceptpositioncan be array-like matching an array-likesensor, or single values.- Parameters:
- sensorstr
The label for the sensor. All sensors must have a label.
- sensitivityfloat
The sensor sensitivity, in dB re. V/Q, where Q is the desired physical unit.
- depthfloat
Sensor deployment depth.
- positionstr or tuple
A coordinate string, or a tuple with lat, lon information.
- latitudefloat
The latitude the sensor was deployed at.
- longitudefloat
The longitude the sensor was deployed at.
- Returns:
- Sensor or SensorPosition