|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectArray.Hydrophone
public class Hydrophone
PamArray,
Serialized Form| Field Summary | |
|---|---|
private double[] |
bandwidth
|
private double[] |
coordinate
|
private double[] |
coordinateError
|
private boolean |
dontInvertDepth
|
private double |
heading
|
private int |
iD
|
private double |
preampGain
|
private double |
sensitivity
|
static long |
serialVersionUID
|
private int |
streamerId
|
private PamSymbol |
symbol
|
private double |
tilt
|
private java.lang.String |
type
|
| Constructor Summary | |
|---|---|
Hydrophone(int id)
|
|
Hydrophone(int id,
double x,
double y,
double z,
java.lang.String type,
double sensitivity,
double[] bandwidth,
double preampGain)
|
|
| Method Summary | |
|---|---|
private void |
checkCoordinateError()
|
private void |
checkDepthInversion()
A funny one this - on 22 December, I realised I had to invert the depth coordinate to satisfy standard RH rotation geometry. |
protected Hydrophone |
clone()
|
double[] |
getBandwidth()
|
double |
getCoordinate(int c)
Get's a coordinate of the array |
double |
getCoordinateError(int iCoordinate)
Get the error on one of the three coordinates. |
double[] |
getCoordinateErrors()
|
double[] |
getCoordinates()
|
(package private) PamSymbol |
getDefaultSymbol()
|
double |
getDepth()
|
double |
getdX()
|
double |
getdY()
|
double |
getdZ()
|
PamVector |
getErrorVector()
|
double |
getHeading()
|
int |
getID()
|
double |
getPreampGain()
|
double |
getSensitivity()
|
int |
getStreamerId()
|
PamSymbol |
getSymbol()
|
double |
getTilt()
|
java.lang.String |
getType()
|
PamVector |
getVector()
|
double |
getX()
|
double |
getY()
|
double |
getY(double depth)
Get the hydrophone distance astern, corrected for hydrophone depth. |
double |
getZ()
|
void |
setBandwidth(double[] bandwidth)
|
void |
setCoordinate(double[] coordinate)
|
void |
setCoordinateError(int iCoordinate,
double error)
Set the coordinate error on one of the three dimensions. |
void |
setCoordinateErrors(double[] errors)
Set the coordinate error array. |
void |
setDepth(double d)
|
void |
setdX(double error)
Set the error on the hydrophone x coordinate |
void |
setdY(double error)
Set the error on the hydrophone y coordinate |
void |
setdZ(double error)
Set the error on the hydrophone z coordinate |
void |
setHeading(double heading)
|
void |
setID(int id)
|
void |
setPreampGain(double preampGain)
|
void |
setSensitivity(double sensitivity)
|
void |
setStreamerId(int streamerId)
|
void |
setSymbol(PamSymbol symbol)
|
void |
setTilt(double tilt)
|
void |
setType(java.lang.String type)
|
void |
setX(double x)
|
void |
setY(double y)
|
void |
setZ(double z)
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final long serialVersionUID
private int iD
private int streamerId
private java.lang.String type
private double[] coordinate
private double[] coordinateError
private double tilt
private double heading
private double sensitivity
private double preampGain
private double[] bandwidth
private transient PamSymbol symbol
private boolean dontInvertDepth
| Constructor Detail |
|---|
public Hydrophone(int id)
public Hydrophone(int id,
double x,
double y,
double z,
java.lang.String type,
double sensitivity,
double[] bandwidth,
double preampGain)
| Method Detail |
|---|
private void checkDepthInversion()
so that old depths get automatically turned upside down in the main coordinate variable, I include this. It a new phone is created, then this will default to true and we'll know that all is OK. If an old hydrophone is deserialised from a settings file, then this will default to false - so we'll know to turn the depth coordinate over.
PamSymbol getDefaultSymbol()
public double[] getBandwidth()
public void setBandwidth(double[] bandwidth)
public double getSensitivity()
public void setSensitivity(double sensitivity)
private void checkCoordinateError()
public double getCoordinateError(int iCoordinate)
iCoordinate - coordinate (x = 0; y = 1; z = 2)
public void setCoordinateErrors(double[] errors)
errors - array of errors on x,y,z
public void setCoordinateError(int iCoordinate,
double error)
iCoordinate - coordinate (x = 0; y = 1; z = 2)error - error in metres.public double[] getCoordinateErrors()
public double getdX()
public void setdX(double error)
error - error in metres.public double getdY()
public void setdY(double error)
error - error in metres.public double getdZ()
public void setdZ(double error)
error - error in metres.public double getX()
public void setX(double x)
public double getY()
public PamVector getVector()
public PamVector getErrorVector()
public double getY(double depth)
depth -
public void setY(double y)
public double getZ()
public void setZ(double z)
public double getDepth()
public void setDepth(double d)
public double getCoordinate(int c)
c - index of the coordinate (0 = x; 1 = y; 2 = z)
protected Hydrophone clone()
clone in class java.lang.Objectpublic java.lang.String getType()
public double[] getCoordinates()
public void setCoordinate(double[] coordinate)
coordinate - The coordinate to set.public double getPreampGain()
public void setPreampGain(double preampGain)
preampGain - The preampGain to set.public void setType(java.lang.String type)
type - The type to set.public int getID()
public void setID(int id)
id - The iD to set.public double getHeading()
public void setHeading(double heading)
heading - The heading to set.public double getTilt()
public void setTilt(double tilt)
tilt - The tilt to set.public PamSymbol getSymbol()
public void setSymbol(PamSymbol symbol)
public int getStreamerId()
public void setStreamerId(int streamerId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||