hep.aida
Interface IDataPointSetFactory
-
- All Known Implementing Classes:
- DataPointSetFactory
public interface IDataPointSetFactoryBasic user-level interface for creating a factory of IDataPointSet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description IDataPointSetadd(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2)Add two IDataSetPoint, point by point and measurement by measurement.IDataPointSetcreate(java.lang.String path, ICloud1D cloud)Create an IDataPointSet from an ICloud1D.IDataPointSetcreate(java.lang.String path, ICloud1D cloud, java.lang.String options)Create an IDataPointSet from an ICloud1D.IDataPointSetcreate(java.lang.String path, ICloud2D cloud)Create an IDataPointSet from an ICloud2D.IDataPointSetcreate(java.lang.String path, ICloud2D cloud, java.lang.String options)Create an IDataPointSet from an ICloud2D.IDataPointSetcreate(java.lang.String path, ICloud3D cloud)Create an IDataPointSet from an ICloud3D.IDataPointSetcreate(java.lang.String path, ICloud3D cloud, java.lang.String options)Create an IDataPointSet from an ICloud3D.IDataPointSetcreate(java.lang.String path, IHistogram1D hist)Create an IDataPointSet from an IHistogram1D.IDataPointSetcreate(java.lang.String path, IHistogram1D hist, java.lang.String options)Create an IDataPointSet from an IHistogram1D.IDataPointSetcreate(java.lang.String path, IHistogram2D hist)Create an IDataPointSet from an IHistogram2D.IDataPointSetcreate(java.lang.String path, IHistogram2D hist, java.lang.String options)Create an IDataPointSet from an IHistogram2D.IDataPointSetcreate(java.lang.String path, IHistogram3D hist)Create an IDataPointSet from an IHistogram3D.IDataPointSetcreate(java.lang.String path, IHistogram3D hist, java.lang.String options)Create an IDataPointSet from an IHistogram3D.IDataPointSetcreate(java.lang.String pathAndTitle, int dimOfPoints)Create an empty IDataPointSet.IDataPointSetcreate(java.lang.String pathAndTitle, int dimOfPoints, java.lang.String options)Create an empty IDataPointSet.IDataPointSetcreate(java.lang.String path, IProfile1D profile)Create an IDataPointSet from an IProfile1D.IDataPointSetcreate(java.lang.String path, IProfile1D profile, java.lang.String options)Create an IDataPointSet from an IProfile1D.IDataPointSetcreate(java.lang.String path, IProfile2D profile)Create an IDataPointSet from an IProfile2D.IDataPointSetcreate(java.lang.String path, IProfile2D profile, java.lang.String options)Create an IDataPointSet from an IProfile2D.IDataPointSetcreate(java.lang.String path, java.lang.String title, int dimOfPoints)Create an empty IDataPointSet.IDataPointSetcreate(java.lang.String path, java.lang.String title, int dimOfPoints, java.lang.String options)Create an empty IDataPointSet.IDataPointSetcreateCopy(java.lang.String path, IDataPointSet dataPointSet)Make a copy of a given IDataPointSet.IDataPointSetcreateX(java.lang.String pathAndTitle, double[] x, double[] ex)Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).IDataPointSetcreateX(java.lang.String pathAndTitle, double[] x, double[] exp, double[] exm)Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).IDataPointSetcreateX(java.lang.String path, java.lang.String title, double[] x, double[] ex)Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).IDataPointSetcreateX(java.lang.String path, java.lang.String title, double[] x, double[] exp, double[] exm)Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).IDataPointSetcreateXY(java.lang.String pathAndTitle, double[] x, double[] y, double[] ex, double[] ey)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXY(java.lang.String pathAndTitle, double[] x, double[] y, double[] exp, double[] eyp, double[] exm, double[] eym)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXY(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] ex, double[] ey)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXY(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] exp, double[] eyp, double[] exm, double[] eym)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String pathAndTitle, double[] x, double[] y, double[] z, double[] ex, double[] ey, double[] ez)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String pathAndTitle, double[] x, double[] y, double[] z, double[] exp, double[] eyp, double[] ezp, double[] exm, double[] eym, double[] ezm)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] z, double[] ex, double[] ey, double[] ez)Create a three dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] z, double[] exp, double[] eyp, double[] ezp, double[] exm, double[] eym, double[] ezm)Create a three dimensional IDataPointSet providing the data.IDataPointSetcreateY(java.lang.String pathAndTitle, double[] y, double[] ey)Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).IDataPointSetcreateY(java.lang.String pathAndTitle, double[] y, double[] eyp, double[] eym)Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).IDataPointSetcreateY(java.lang.String path, java.lang.String title, double[] y, double[] ey)Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).IDataPointSetcreateY(java.lang.String path, java.lang.String title, double[] y, double[] eyp, double[] eym)Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).voiddestroy(IDataPointSet dataPointSet)Destroy a given IDataPointSet.IDataPointSetdivide(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2)Divide two IDataSetPoint, point by point and measurement by measurement.IDataPointSetmultiply(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2)Multiply two IDataSetPoint, point by point and measurement by measurement.IDataPointSetsubtract(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2)Subtract two IDataSetPoint, point by point and measurement by measurement.IDataPointSetweightedMean(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2)Calculate weighted means of two IDataSetPoint, point by point and measurement by measurement.
-
-
-
Method Detail
-
create
IDataPointSet create(java.lang.String path, java.lang.String title, int dimOfPoints) throws java.lang.IllegalArgumentException
Create an empty IDataPointSet.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.dimOfPoints- The dimension of the IDataPoints that can be stored in the set. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, java.lang.String title, int dimOfPoints, java.lang.String options) throws java.lang.IllegalArgumentException
Create an empty IDataPointSet.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.dimOfPoints- The dimension of the IDataPoints that can be stored in the set.options- The options for the IDataPointSet, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String pathAndTitle, int dimOfPoints) throws java.lang.IllegalArgumentException
Create an empty IDataPointSet.- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dimOfPoints- The dimension of the IDataPoints that can be stored in the set. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String pathAndTitle, int dimOfPoints, java.lang.String options) throws java.lang.IllegalArgumentException
Create an empty IDataPointSet.- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dimOfPoints- The dimension of the IDataPoints that can be stored in the set.options- The options for the IDataPointSet, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createY
IDataPointSet createY(java.lang.String path, java.lang.String title, double[] y, double[] ey) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.y- The array of the y valuesey- The array with the symmetric errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createY
IDataPointSet createY(java.lang.String path, java.lang.String title, double[] y, double[] eyp, double[] eym) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.y- The array of the y valueseyp- The array with the plus errors on yeym- The array with the minus errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createY
IDataPointSet createY(java.lang.String pathAndTitle, double[] y, double[] ey) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.y- The array of the y valuesey- The array with the symmetric errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createY
IDataPointSet createY(java.lang.String pathAndTitle, double[] y, double[] eyp, double[] eym) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.y- The array of the y valueseyp- The array with the plus errors on yeym- The array with the minus errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createX
IDataPointSet createX(java.lang.String path, java.lang.String title, double[] x, double[] ex) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.x- The array of the x valuesex- The array with the symmetric errors on x- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createX
IDataPointSet createX(java.lang.String path, java.lang.String title, double[] x, double[] exp, double[] exm) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.x- The array of the x valuesexp- The array with the plus errors on xexm- The array with the minus errors on x- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createX
IDataPointSet createX(java.lang.String pathAndTitle, double[] x, double[] ex) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.x- The array of the x valuesex- The array with the symmetric errors on x- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createX
IDataPointSet createX(java.lang.String pathAndTitle, double[] x, double[] exp, double[] exm) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.x- The array of the x valuesexp- The array with the plus errors on xexm- The array with the minus errors on x- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXY
IDataPointSet createXY(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] exp, double[] eyp, double[] exm, double[] eym) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.x- The array of the x valuesy- The array of the y valuesexp- The array with the plus errors on xeyp- The array with the plus errors on yexm- The array with the minus errors on xeym- The array with the minus errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXY
IDataPointSet createXY(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] ex, double[] ey) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.x- The array of the x valuesy- The array of the y valuesex- The array with the symmetric errors on xey- The array with the symmetric errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXY
IDataPointSet createXY(java.lang.String pathAndTitle, double[] x, double[] y, double[] exp, double[] eyp, double[] exm, double[] eym) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data.- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.x- The array of the x valuesy- The array of the y valuesexp- The array with the plus errors on xeyp- The array with the plus errors on yexm- The array with the minus errors on xeym- The array with the minus errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXY
IDataPointSet createXY(java.lang.String pathAndTitle, double[] x, double[] y, double[] ex, double[] ey) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data.- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.x- The array of the x valuesy- The array of the y valuesex- The array with the symmetric errors on xey- The array with the symmetric errors on y- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXYZ
IDataPointSet createXYZ(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] z, double[] exp, double[] eyp, double[] ezp, double[] exm, double[] eym, double[] ezm) throws java.lang.IllegalArgumentException
Create a three dimensional IDataPointSet providing the data.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.x- The array of the x valuesy- The array of the y valuesz- The array of the z valuesexp- The array with the plus errors on xeyp- The array with the plus errors on yezp- The array with the plus errors on zexm- The array with the minus errors on xeym- The array with the minus errors on yezm- The array with the minus errors on z- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXYZ
IDataPointSet createXYZ(java.lang.String path, java.lang.String title, double[] x, double[] y, double[] z, double[] ex, double[] ey, double[] ez) throws java.lang.IllegalArgumentException
Create a three dimensional IDataPointSet providing the data.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.title- The title of the IDataPointSet.x- The array of the x valuesy- The array of the y valuesz- The array of the z valuesex- The array with the symmetric errors on xey- The array with the symmetric errors on yez- The array with the symmetric errors on z- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXYZ
IDataPointSet createXYZ(java.lang.String pathAndTitle, double[] x, double[] y, double[] z, double[] exp, double[] eyp, double[] ezp, double[] exm, double[] eym, double[] ezm) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data.- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.x- The array of the x valuesy- The array of the y valuesz- The array of the z valuesexp- The array with the plus errors on xeyp- The array with the plus errors on yezp- The array with the plus errors on zexm- The array with the minus errors on xeym- The array with the minus errors on yezm- The array with the minus errors on z- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXYZ
IDataPointSet createXYZ(java.lang.String pathAndTitle, double[] x, double[] y, double[] z, double[] ex, double[] ey, double[] ez) throws java.lang.IllegalArgumentException
Create a two dimensional IDataPointSet providing the data.- Parameters:
pathAndTitle- The path of the IDataPointSet. The path can either be a relative or full path. The last part of the path is used as the title. ("/folder1/folder2/dataTitle" and "../folder/dataTitle" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.x- The array of the x valuesy- The array of the y valuesz- The array of the z valuesexp- The array with the symmetric errors on xeyp- The array with the symmetric errors on yezp- The array with the symmetric errors on z- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createCopy
IDataPointSet createCopy(java.lang.String path, IDataPointSet dataPointSet) throws java.lang.IllegalArgumentException
Make a copy of a given IDataPointSet.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dataPointSet- The IDataPointSet to be copied.- Returns:
- The copy of the given IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
destroy
void destroy(IDataPointSet dataPointSet) throws java.lang.IllegalArgumentException
Destroy a given IDataPointSet.- Parameters:
dataPointSet- The IDataPointSet to be destroyed.- Throws:
java.lang.IllegalArgumentException- If dataPointSet cannot be destroyed.
-
create
IDataPointSet create(java.lang.String path, IHistogram1D hist) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IHistogram1D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.hist- The IHistogram1D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IHistogram1D hist, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IHistogram1D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.hist- The IHistogram1D from which the data is taken.options- Options, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IHistogram2D hist) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IHistogram2D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.hist- The IHistogram2D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IHistogram2D hist, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IHistogram2D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.hist- The IHistogram2D from which the data is taken.options- Options, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IHistogram3D hist) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IHistogram3D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.hist- The IHistogram3D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IHistogram3D hist, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IHistogram3D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.hist- The IHistogram3D from which the data is taken.options- Options, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, ICloud1D cloud) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an ICloud1D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.cloud- The ICloud1D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, ICloud1D cloud, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an ICloud1D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.cloud- The ICloud1D from which the data is taken.options- Options, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, ICloud2D cloud) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an ICloud2D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.cloud- The ICloud2D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, ICloud2D cloud, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an ICloud2D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.cloud- The ICloud2D from which the data is taken.options- Options, currently not specified Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, ICloud3D cloud) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an ICloud3D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.cloud- The ICloud3D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, ICloud3D cloud, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an ICloud3D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.cloud- The ICloud3D from which the data is taken.options- Options, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IProfile1D profile) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IProfile1D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.profile- The IProfile1D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IProfile1D profile, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IProfile1D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.profile- The IProfile1D from which the data is taken.options- Options, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IProfile2D profile) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IProfile2D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.profile- The IProfile2D from which the data is taken. Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
create
IDataPointSet create(java.lang.String path, IProfile2D profile, java.lang.String options) throws java.lang.IllegalArgumentException
Create an IDataPointSet from an IProfile2D.- Parameters:
path- The path of the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.profile- The IProfile2D from which the data is taken.options- Options, currently not specified. The default is "". Options string must consist of series of parameters or key-value pairs that are separated by comma or semicolon ( "," or ";" ), white spaces are disregarded and will be trimmed away during parsing. Key-value pairs must be in a form: key=value, or key="value" (for values that contain spaces, commas, or other special characters). Single parameters may be converted to a parameter=true pair during parsing, like "verbose" -> "verbose=true". Any key that starts with "annotation." will be stripped of this prefix and put into annotation of newly created AIDA object.- Returns:
- The newly created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
add
IDataPointSet add(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Add two IDataSetPoint, point by point and measurement by measurement.- Parameters:
path- The path of resulting the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dataPointSet1- The first member of the addition.dataPointSet2- The second member of the addition.- Throws:
java.lang.IllegalArgumentException- if the two IDataPointSet to be added have different dimensions and/or sizes, or if a directory in the path does not exist, or the path is illegal.
-
subtract
IDataPointSet subtract(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Subtract two IDataSetPoint, point by point and measurement by measurement.- Parameters:
path- The path of the resulting IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dataPointSet1- The first member of the subtraction.dataPointSet2- The second member of the subtraction. uncorrelated Gaussian error propagation.- Throws:
java.lang.IllegalArgumentException- if the two IDataPointSet to be subtracted have different dimensions and/or sizes, or if a directory in the path does not exist, or the path is illegal.
-
multiply
IDataPointSet multiply(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Multiply two IDataSetPoint, point by point and measurement by measurement.- Parameters:
path- The path of the resulting IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dataPointSet1- The first member of the multiplication.dataPointSet2- The second member of the multiplication. uncorrelated Gaussian error propagation.- Throws:
java.lang.IllegalArgumentException- if the two IDataPointSet to be multiplied have different dimensions and/or sizes, or if a directory in the path does not exist, or the path is illegal.
-
divide
IDataPointSet divide(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Divide two IDataSetPoint, point by point and measurement by measurement.- Parameters:
path- The path of resulting the IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dataPointSet1- The first member of the division.dataPointSet2- The second member of the division. uncorrelated Gaussian error propagation.- Throws:
java.lang.IllegalArgumentException- if the two IDataPointSet to be divided have different dimensions and/or sizes, or if a directory in the path does not exist, or the path is illegal.
-
weightedMean
IDataPointSet weightedMean(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Calculate weighted means of two IDataSetPoint, point by point and measurement by measurement.- Parameters:
path- The path of the resulting IDataPointSet. The path can either be a relative or full path. ("/folder1/folder2/dataName" and "../folder/dataName" are valid paths). All the directories in the path must exist. The characther `/` cannot be used in names; it is only used to delimit directories within paths.dataPointSet1- The first IDataPointSet.dataPointSet2- The second IDataPointSet. uncorrelated Gaussian error propagation.- Throws:
java.lang.IllegalArgumentException- if the two IDataPointSet have different dimensions and/or sizes, or if a directory in the path does not exist, or the path is illegal.
-
-
DMelt 3.0 © DataMelt by jWork.ORG