visad
Interface Data
-
- All Superinterfaces:
- Thing
- All Known Subinterfaces:
- EarthLocation, Field, FlatFieldIface, Function, Gridded1DSetIface, GriddedDoubleSet, GriddedSetIface, ImageSequence, LatLonPoint, NamedLocation, NavigatedField, RealIface, RealTupleIface, RemoteClientData, RemoteClientField, RemoteClientPartitionedField, RemoteClientTuple, RemoteClusterData, RemoteData, RemoteField, RemoteFlatField, RemoteFunction, RemoteNodeData, RemoteNodeField, RemoteNodePartitionedField, RemoteNodeTuple, RemoteTupleIface, SampledSetIface, SatelliteData, ScalarIface, SetIface, SimpleSetIface, SingleBandedImage, TupleIface
- All Known Implementing Classes:
- AreaImageCacheAdapter, CachedFlatField, DataImpl, DateTime, DoubleSet, DoubleStringTuple, DoubleTuple, EarthLocationLite, EarthLocationTuple, FieldImpl, FileField, FileFlatField, FlatField, FloatSet, FunctionImpl, Gridded1DDoubleSet, Gridded1DSet, Gridded2DDoubleSet, Gridded2DSet, Gridded3DDoubleSet, Gridded3DSet, GriddedSet, ImageFlatField, ImageSequenceImpl, Integer1DSet, Integer2DSet, Integer3DSet, IntegerNDSet, Irregular1DSet, Irregular2DSet, Irregular3DSet, IrregularSet, JamaCholeskyDecomposition, JamaEigenvalueDecomposition, JamaLUDecomposition, JamaMatrix, JamaQRDecomposition, JamaSingularValueDecomposition, LatLonTuple, Linear1DSet, Linear2DSet, Linear3DSet, LinearLatLonSet, LinearNDSet, List1DDoubleSet, List1DSet, NamedLocationTuple, NavigatedImage, ProductSet, Real, RealTuple, RemoteClientDataImpl, RemoteClientFieldImpl, RemoteClientPartitionedFieldImpl, RemoteClientTupleImpl, RemoteClusterDataImpl, RemoteDataImpl, RemoteFieldImpl, RemoteFlatFieldImpl, RemoteFunctionImpl, RemoteNodeDataImpl, RemoteNodeFieldImpl, RemoteNodePartitionedFieldImpl, RemoteNodeTupleImpl, SampledSet, SatelliteImage, Scalar, Set, SimpleSet, SingleBandedImageImpl, SingletonSet, Sounding, Spectrum, Text, Tuple, UnionSet, UserDummyDataImpl, UTMCoordinate
public interface Data extends Thing
Data is the top-level interface of the VisAD data hierarchy. See the DataImpl class for more information.
-
-
Field Summary
Fields Modifier and Type Field and Description static intABSconstants for various unary arithmetic operationsstatic intACOSstatic intACOS_DEGREESstatic intADDconstants for various binary arithmetic operationsstatic intASINstatic intASIN_DEGREESstatic intATANstatic intATAN_DEGREESstatic intATAN2static intATAN2_DEGREESstatic intCEILstatic intCOSstatic intCOS_DEGREESstatic doubleDEGREES_TO_RADIANSstatic intDEPENDENTDEPENDENT error estimation Modestatic intDIVIDEstatic intEXPstatic intFLOORstatic intINDEPENDENTINDEPENDENT error estimation Modestatic intINV_ATAN2static intINV_ATAN2_DEGREESstatic intINV_DIVIDEstatic intINV_POWstatic intINV_REMAINDERstatic intINV_SUBTRACTstatic intLOGstatic intMAXstatic intMINstatic intMULTIPLYstatic intNEAREST_NEIGHBORNEAREST_NEIGHBOR resampling modestatic intNEGATEstatic intNO_ERRORSNO_ERRORS error estimation Modestatic intNOPstatic intPOWstatic doubleRADIANS_TO_DEGREESconstants for angle Unit conversionsstatic intREMAINDERstatic intRINTstatic intROUNDstatic intSINstatic intSIN_DEGREESstatic intSQRTstatic intSUBTRACTstatic intTANstatic intTAN_DEGREESstatic intWEIGHTED_AVERAGEWEIGHTED_AVERAGE resampling Mode
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description Dataabs()call unary() to take the absolute value of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataabs(int sampling_mode, int error_mode)call unary() to take the absolute value of thisDataacos()call unary() to take the arccos of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataacos(int sampling_mode, int error_mode)call unary() to take the arccos of this producing radian UnitsDataacosDegrees()call unary() to take the arccos of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DataacosDegrees(int sampling_mode, int error_mode)call unary() to take the arccos of this producing degree UnitsDataadd(Data data)call binary() to add data to this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataadd(Data data, int sampling_mode, int error_mode)call binary() to add data to thisDataadjustSamplingError(Data error, int error_mode)return a clone of this, except with ErrorEstimates combined with values in error, according to error_modeDataasin()call unary() to take the arcsin of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataasin(int sampling_mode, int error_mode)call unary() to take the arcsin of this producing radian UnitsDataasinDegrees()call unary() to take the arcsin of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DataasinDegrees(int sampling_mode, int error_mode)call unary() to take the arcsin of this producing degree UnitsDataatan()call unary() to take the arctan of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataatan(int sampling_mode, int error_mode)call unary() to take the arctan of this producing radian UnitsDataatan2(Data data)call binary() to take the atan of this by data producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataatan2(Data data, int sampling_mode, int error_mode)call binary() to take the atan of this by data producing radian UnitsDataatan2Degrees(Data data)call binary() to take the atan of this by data producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataatan2Degrees(Data data, int sampling_mode, int error_mode)call binary() to take the atan of this by data producing degree UnitsDataatanDegrees()call unary() to take the arctan of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DataatanDegrees(int sampling_mode, int error_mode)call unary() to take the arctan of this producing degree UnitsDatabinary(Data data, int op, int sampling_mode, int error_mode)Pointwise binary operation between this and data.Databinary(Data data, int op, MathType new_type, int sampling_mode, int error_mode)Pointwise binary operation between this and data.Dataceil()call unary() to take the ceiling of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataceil(int sampling_mode, int error_mode)call unary() to take the ceiling of thisDatachangeMathType(MathType new_type)call unary() to clone this except with a new MathTypedouble[][]computeRanges(RealType[] reals)compute ranges of values in this of given RealTypes, using a dummy DisplayImplJ2DDataShadowcomputeRanges(ShadowType type, DataShadow shadow)Recursive version of computeRanges(), called down through Data object tree.DataShadowcomputeRanges(ShadowType type, int n)Compute ranges of values for each of 'n' RealTypes in DisplayImpl.RealTypeVector.Datacos()call unary() to take the cos of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datacos(int sampling_mode, int error_mode)call unary() to take the cos of this assuming radian Units unless this actual Units are degreesDatacosDegrees()call unary() to take the cos of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DatacosDegrees(int sampling_mode, int error_mode)call unary() to take the cos of this assuming degree Units unless this actual Units are radiansjava.lang.ObjectdataClone()A VisAD adaptation of clone that works for local or remote Data.Datadivide(Data data)call binary() to divide this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datadivide(Data data, int sampling_mode, int error_mode)call binary() to divide this by dataDataexp()call unary() to take the exponent of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataexp(int sampling_mode, int error_mode)call unary() to take the exponent of thisDatafloor()call unary() to take the floor of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datafloor(int sampling_mode, int error_mode)call unary() to take the floor of thisMathTypegetType()booleanisMissing()DataImpllocal()Datalog()call unary() to take the log of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datalog(int sampling_mode, int error_mode)call unary() to take the log of thisjava.lang.StringlongString()java.lang.StringlongString(java.lang.String pre)Datamax(Data data)call binary() to take the max of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datamax(Data data, int sampling_mode, int error_mode)call binary() to take the max of this and dataDatamin(Data data)call binary() to take the min of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datamin(Data data, int sampling_mode, int error_mode)call binary() to take the min of this and dataDatamultiply(Data data)call binary() to multiply this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datamultiply(Data data, int sampling_mode, int error_mode)call binary() to multiply this by dataDatanegate()call unary() to negate this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datanegate(int sampling_mode, int error_mode)call unary() to negate thisDatapow(Data data)call binary() to raise this to data power, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datapow(Data data, int sampling_mode, int error_mode)call binary() to raise this to data powerDataremainder(Data data)call binary() to take the remainder of this divided by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataremainder(Data data, int sampling_mode, int error_mode)call binary() to take the remainder of this divided by dataDatarint()call unary() to take the rint (essentially round) of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datarint(int sampling_mode, int error_mode)call unary() to take the rint (essentially round) of thisDataround()call unary() to take the round of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Dataround(int sampling_mode, int error_mode)call unary() to take the round of thisDatasin()call unary() to take the sin of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datasin(int sampling_mode, int error_mode)call unary() to take the sin of this assuming radian Units unless this actual Units are degreesDatasinDegrees()call unary() to take the sin of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DatasinDegrees(int sampling_mode, int error_mode)call unary() to take the sin of this assuming degree Units unless this actual Units are radiansDatasqrt()call unary() to take the square root of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datasqrt(int sampling_mode, int error_mode)call unary() to take the square root of thisDatasubtract(Data data)call binary() to subtract data from this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datasubtract(Data data, int sampling_mode, int error_mode)call binary() to subtract data from thisDatatan()call unary() to take the tan of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)Datatan(int sampling_mode, int error_mode)call unary() to take the tan of this assuming radian Units unless this actual Units are degreesDatatanDegrees()call unary() to take the tan of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)DatatanDegrees(int sampling_mode, int error_mode)call unary() to take the tan of this assuming degree Units unless this actual Units are radiansDataunary(int op, int sampling_mode, int error_mode)Pointwise unary operation applied to this.Dataunary(int op, MathType new_type, int sampling_mode, int error_mode)Pointwise unary operation applied to this.-
Methods inherited from interface visad.Thing
addReference, removeReference
-
-
-
-
Field Detail
-
NEAREST_NEIGHBOR
static final int NEAREST_NEIGHBOR
NEAREST_NEIGHBOR resampling mode- See Also:
- Constant Field Values
-
WEIGHTED_AVERAGE
static final int WEIGHTED_AVERAGE
WEIGHTED_AVERAGE resampling Mode- See Also:
- Constant Field Values
-
INDEPENDENT
static final int INDEPENDENT
INDEPENDENT error estimation Mode- See Also:
- Constant Field Values
-
DEPENDENT
static final int DEPENDENT
DEPENDENT error estimation Mode- See Also:
- Constant Field Values
-
NO_ERRORS
static final int NO_ERRORS
NO_ERRORS error estimation Mode- See Also:
- Constant Field Values
-
ADD
static final int ADD
constants for various binary arithmetic operations- See Also:
- Constant Field Values
-
SUBTRACT
static final int SUBTRACT
- See Also:
- Constant Field Values
-
INV_SUBTRACT
static final int INV_SUBTRACT
- See Also:
- Constant Field Values
-
MULTIPLY
static final int MULTIPLY
- See Also:
- Constant Field Values
-
DIVIDE
static final int DIVIDE
- See Also:
- Constant Field Values
-
INV_DIVIDE
static final int INV_DIVIDE
- See Also:
- Constant Field Values
-
POW
static final int POW
- See Also:
- Constant Field Values
-
INV_POW
static final int INV_POW
- See Also:
- Constant Field Values
-
MAX
static final int MAX
- See Also:
- Constant Field Values
-
MIN
static final int MIN
- See Also:
- Constant Field Values
-
ATAN2
static final int ATAN2
- See Also:
- Constant Field Values
-
ATAN2_DEGREES
static final int ATAN2_DEGREES
- See Also:
- Constant Field Values
-
INV_ATAN2
static final int INV_ATAN2
- See Also:
- Constant Field Values
-
INV_ATAN2_DEGREES
static final int INV_ATAN2_DEGREES
- See Also:
- Constant Field Values
-
REMAINDER
static final int REMAINDER
- See Also:
- Constant Field Values
-
INV_REMAINDER
static final int INV_REMAINDER
- See Also:
- Constant Field Values
-
ABS
static final int ABS
constants for various unary arithmetic operations- See Also:
- Constant Field Values
-
ACOS
static final int ACOS
- See Also:
- Constant Field Values
-
ACOS_DEGREES
static final int ACOS_DEGREES
- See Also:
- Constant Field Values
-
ASIN
static final int ASIN
- See Also:
- Constant Field Values
-
ASIN_DEGREES
static final int ASIN_DEGREES
- See Also:
- Constant Field Values
-
ATAN
static final int ATAN
- See Also:
- Constant Field Values
-
ATAN_DEGREES
static final int ATAN_DEGREES
- See Also:
- Constant Field Values
-
CEIL
static final int CEIL
- See Also:
- Constant Field Values
-
COS
static final int COS
- See Also:
- Constant Field Values
-
COS_DEGREES
static final int COS_DEGREES
- See Also:
- Constant Field Values
-
EXP
static final int EXP
- See Also:
- Constant Field Values
-
FLOOR
static final int FLOOR
- See Also:
- Constant Field Values
-
LOG
static final int LOG
- See Also:
- Constant Field Values
-
RINT
static final int RINT
- See Also:
- Constant Field Values
-
ROUND
static final int ROUND
- See Also:
- Constant Field Values
-
SIN
static final int SIN
- See Also:
- Constant Field Values
-
SIN_DEGREES
static final int SIN_DEGREES
- See Also:
- Constant Field Values
-
SQRT
static final int SQRT
- See Also:
- Constant Field Values
-
TAN
static final int TAN
- See Also:
- Constant Field Values
-
TAN_DEGREES
static final int TAN_DEGREES
- See Also:
- Constant Field Values
-
NEGATE
static final int NEGATE
- See Also:
- Constant Field Values
-
NOP
static final int NOP
- See Also:
- Constant Field Values
-
RADIANS_TO_DEGREES
static final double RADIANS_TO_DEGREES
constants for angle Unit conversions- See Also:
- Constant Field Values
-
DEGREES_TO_RADIANS
static final double DEGREES_TO_RADIANS
- See Also:
- Constant Field Values
-
-
Method Detail
-
local
DataImpl local() throws VisADException, java.rmi.RemoteException
- Returns:
- a local copy if remote (i.e., this is RemoteData), else return this if local (i.e., this is DataImpl)
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
getType
MathType getType() throws VisADException, java.rmi.RemoteException
- Returns:
- MathType of this Data
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
isMissing
boolean isMissing() throws VisADException, java.rmi.RemoteException- Returns:
- flag indicating whether this Data has a missing value
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
binary
Data binary(Data data, int op, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise binary operation between this and data. Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains or Sets (regarded as domains of Fields wthout ranges). Data.ADD is only op defined for Text, interpreted as concatenate. MathTypes of this and data must match, or one may match the range of the other if it is a FunctionType.- Parameters:
data- other Data operand for binary operationop- may be Data.ADD, Data.SUBTRACT, etc; these include all binary operations defined for Java primitive data typessampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation, which takes the MathType of this unless the default Units of that MathType conflict with Units of the result, in which case a generic MathType with appropriate Units is constructed
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
binary
Data binary(Data data, int op, MathType new_type, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise binary operation between this and data. Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains or Sets (regarded as domains of Fields wthout ranges). Data.ADD is only op defined for Text, interpreted as concatenate. MathTypes of this and data must match, or one may match the range of the other if it is a FunctionType.- Parameters:
data- other Data operand for binary operationop- may be Data.ADD, Data.SUBTRACT, etc; these include all binary operations defined for Java primitive data typesnew_type- MathType of the resultsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result, with MathType = new_type
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
add
Data add(Data data) throws VisADException, java.rmi.RemoteException
call binary() to add data to this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
subtract
Data subtract(Data data) throws VisADException, java.rmi.RemoteException
call binary() to subtract data from this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
multiply
Data multiply(Data data) throws VisADException, java.rmi.RemoteException
call binary() to multiply this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
divide
Data divide(Data data) throws VisADException, java.rmi.RemoteException
call binary() to divide this by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
pow
Data pow(Data data) throws VisADException, java.rmi.RemoteException
call binary() to raise this to data power, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
max
Data max(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the max of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
min
Data min(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the min of this and data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2
Data atan2(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2Degrees
Data atan2Degrees(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
remainder
Data remainder(Data data) throws VisADException, java.rmi.RemoteException
call binary() to take the remainder of this divided by data, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Parameters:
data- other Data operand for binary operation- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
add
Data add(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to add data to this- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
subtract
Data subtract(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to subtract data from this- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
multiply
Data multiply(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to multiply this by data- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
divide
Data divide(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to divide this by data- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
pow
Data pow(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to raise this to data power- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
max
Data max(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the max of this and data- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
min
Data min(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the min of this and data- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2
Data atan2(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing radian Units- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan2Degrees
Data atan2Degrees(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the atan of this by data producing degree Units- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
remainder
Data remainder(Data data, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call binary() to take the remainder of this divided by data- Parameters:
data- other Data operand for binary operationsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
unary
Data unary(int op, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise unary operation applied to this. Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains, Sets (regarded as domains of Fields wthout ranges) or Text.- Parameters:
op- may be Data.ABS, Data.ACOS, etc; these include all unary operations defined for Java primitive data typessampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation, which takes the MathType of this unless the default Units of that MathType conflict with Units of the result, in which case a generic MathType with appropriate Units is constructed
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
unary
Data unary(int op, MathType new_type, int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
Pointwise unary operation applied to this. Applies to Reals, Tuples (recursively to components), and to Field ranges (Field domains implicitly resampled if necessary). Does not apply to Field domains, Sets (regarded as domains of Fields wthout ranges) or Text.- Parameters:
op- may be Data.ABS, Data.ACOS, etc; these include all unary operations defined for Java primitive data typesnew_type- MathType of the resultsampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result, with MathType = new_type
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
changeMathType
Data changeMathType(MathType new_type) throws VisADException, java.rmi.RemoteException
call unary() to clone this except with a new MathType- Parameters:
new_type- MathType of returned Data object- Returns:
- clone of this Data object except with new MathType
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
abs
Data abs() throws VisADException, java.rmi.RemoteException
call unary() to take the absolute value of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acos
Data acos() throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acosDegrees
Data acosDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asin
Data asin() throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asinDegrees
Data asinDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan
Data atan() throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing radian Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atanDegrees
Data atanDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing degree Units, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
ceil
Data ceil() throws VisADException, java.rmi.RemoteException
call unary() to take the ceiling of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cos
Data cos() throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cosDegrees
Data cosDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
exp
Data exp() throws VisADException, java.rmi.RemoteException
call unary() to take the exponent of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
floor
Data floor() throws VisADException, java.rmi.RemoteException
call unary() to take the floor of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
log
Data log() throws VisADException, java.rmi.RemoteException
call unary() to take the log of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
rint
Data rint() throws VisADException, java.rmi.RemoteException
call unary() to take the rint (essentially round) of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
round
Data round() throws VisADException, java.rmi.RemoteException
call unary() to take the round of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sin
Data sin() throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sinDegrees
Data sinDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sqrt
Data sqrt() throws VisADException, java.rmi.RemoteException
call unary() to take the square root of this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tan
Data tan() throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming radian Units unless this actual Units are degrees, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tanDegrees
Data tanDegrees() throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming degree Units unless this actual Units are radians, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
negate
Data negate() throws VisADException, java.rmi.RemoteException
call unary() to negate this, using default modes for sampling (Data.NEAREST_NEIGHBOR) and error estimation (Data.NO_ERRORS)- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
abs
Data abs(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the absolute value of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acos
Data acos(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing radian Units- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
acosDegrees
Data acosDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arccos of this producing degree Units- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asin
Data asin(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing radian Units- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
asinDegrees
Data asinDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arcsin of this producing degree Units- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atan
Data atan(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing radian Units- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
atanDegrees
Data atanDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the arctan of this producing degree Units- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
ceil
Data ceil(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the ceiling of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cos
Data cos(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming radian Units unless this actual Units are degrees- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
cosDegrees
Data cosDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the cos of this assuming degree Units unless this actual Units are radians- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
exp
Data exp(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the exponent of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
floor
Data floor(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the floor of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
log
Data log(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the log of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
rint
Data rint(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the rint (essentially round) of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
round
Data round(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the round of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sin
Data sin(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming radian Units unless this actual Units are degrees- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sinDegrees
Data sinDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the sin of this assuming degree Units unless this actual Units are radians- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
sqrt
Data sqrt(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the square root of this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tan
Data tan(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming radian Units unless this actual Units are degrees- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
tanDegrees
Data tanDegrees(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to take the tan of this assuming degree Units unless this actual Units are radians- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
negate
Data negate(int sampling_mode, int error_mode) throws VisADException, java.rmi.RemoteException
call unary() to negate this- Parameters:
sampling_mode- may be Data.NEAREST_NEIGHBOR or Data.WEIGHTED_AVERAGEerror_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- result of operation
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
computeRanges
double[][] computeRanges(RealType[] reals) throws VisADException, java.rmi.RemoteException
compute ranges of values in this of given RealTypes, using a dummy DisplayImplJ2D- Parameters:
reals- array of RealTypes whose value ranges to compute- Returns:
- double[reals.length][2] giving the low and high value in this for each RealType in reals
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
computeRanges
DataShadow computeRanges(ShadowType type, int n) throws VisADException, java.rmi.RemoteException
Compute ranges of values for each of 'n' RealTypes in DisplayImpl.RealTypeVector. Called from DataRenderer with n = DisplayImpl.getScalarCount().- Parameters:
type- ShadowType generated for MathType of thisn- number of RealTypes in DisplayImpl.RealTypeVector- Returns:
- DataShadow instance containing double[][] array of RealType ranges, and an animation sampling Set
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
computeRanges
DataShadow computeRanges(ShadowType type, DataShadow shadow) throws VisADException, java.rmi.RemoteException
Recursive version of computeRanges(), called down through Data object tree.- Parameters:
type- ShadowType generated for MathType of thisshadow- DataShadow instance whose contained double[][] array and animation sampling Set are modified according to RealType values in this, and used as return value- Returns:
- DataShadow instance containing double[][] array of RealType ranges, and an animation sampling Set
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
adjustSamplingError
Data adjustSamplingError(Data error, int error_mode) throws VisADException, java.rmi.RemoteException
return a clone of this, except with ErrorEstimates combined with values in error, according to error_mode- Parameters:
error-error_mode- may be Data.INDEPENDENT, Data.DEPENDENT or Data.NO_ERRORS;- Returns:
- clone of this, except with ErrorEstimates set according to values in error
- Throws:
VisADException- a VisAD error occurredjava.rmi.RemoteException- an RMI error occurred
-
longString
java.lang.String longString() throws VisADException, java.rmi.RemoteException- Returns:
- a longer String than returned by toString()
- Throws:
VisADExceptionjava.rmi.RemoteException
-
longString
java.lang.String longString(java.lang.String pre) throws VisADException, java.rmi.RemoteException- Parameters:
pre- String added to start of each line- Returns:
- a longer String than returned by toString(), indented by pre (a string of blanks)
- Throws:
VisADExceptionjava.rmi.RemoteException
-
dataClone
java.lang.Object dataClone() throws java.rmi.RemoteExceptionA VisAD adaptation of clone that works for local or remote Data. Catches CloneNotSupportedException and throws message in a RuntimeException.- Returns:
- for DataImpl return clone(), and for RemoteDataImpl return clone() inherited from UnicastRemoteObject
- Throws:
java.rmi.RemoteException
-
-
DMelt 3.0 © DataMelt by jWork.ORG