hep.aida.ref.histogram
Class DataPointSetFactory
- java.lang.Object
-
- hep.aida.ref.histogram.DataPointSetFactory
-
- All Implemented Interfaces:
- IDataPointSetFactory
public class DataPointSetFactory extends java.lang.Object implements IDataPointSetFactory
Basic user-level interface for creating a factory of IDataPointSet.
-
-
Constructor Summary
Constructors Constructor and Description DataPointSetFactory()DataPointSetFactory(ITree t)Create an IDataPointSetFactory.
-
Method Summary
All Methods Instance Methods Concrete 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 path, double[] xVal, double[] xErr)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, double[] xVal, double[] xErrPlus, double[] xErrMinus)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[] xVal, double[] xErr)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[] xVal, double[] xErrPlus, double[] xErrMinus)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 path, double[] xVal, double[] yVal, double[] xErr, double[] yErr)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXY(java.lang.String path, double[] xVal, double[] yVal, double[] xErrPlus, double[] yErrPlus, double[] xErrMinus, double[] yErrMinus)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXY(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] xErr, double[] yErr)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXY(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] xErrPlus, double[] yErrPlus, double[] xErrMinus, double[] yErrMinus)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String path, double[] xVal, double[] yVal, double[] zVal, double[] xErr, double[] yErr, double[] zErr)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String path, double[] xVal, double[] yVal, double[] zVal, double[] xErrPlus, double[] yErrPlus, double[] zErrPlus, double[] xErrMinus, double[] yErrMinus, double[] zErrMinus)Create a two dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] zVal, double[] xErr, double[] yErr, double[] zErr)Create a three dimensional IDataPointSet providing the data.IDataPointSetcreateXYZ(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] zVal, double[] xErrPlus, double[] yErrPlus, double[] zErrPlus, double[] xErrMinus, double[] yErrMinus, double[] zErrMinus)Create a three dimensional IDataPointSet providing the data.IDataPointSetcreateY(java.lang.String path, double[] yVal, double[] yErr)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, double[] yVal, double[] yErrPlus, double[] yErrMinus)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[] yVal, double[] yErr)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[] yVal, double[] yErrPlus, double[] yErrMinus)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.
-
-
-
Constructor Detail
-
DataPointSetFactory
public DataPointSetFactory(ITree t)
Create an IDataPointSetFactory.- Parameters:
t- The ITree which created IDataPointSet will be associated to.- Throws:
java.lang.IllegalArgumentException- if tree is null.
-
DataPointSetFactory
public DataPointSetFactory()
-
-
Method Detail
-
create
public IDataPointSet create(java.lang.String path, java.lang.String title, int dimOfPoints)
Description copied from interface:IDataPointSetFactoryCreate an empty IDataPointSet.- Specified by:
createin interfaceIDataPointSetFactory- 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.
-
create
public IDataPointSet create(java.lang.String path, java.lang.String title, int dimOfPoints, java.lang.String options)
Description copied from interface:IDataPointSetFactoryCreate an empty IDataPointSet.- Specified by:
createin interfaceIDataPointSetFactory- 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.
-
create
public IDataPointSet create(java.lang.String pathAndTitle, int dimOfPoints, java.lang.String options)
Description copied from interface:IDataPointSetFactoryCreate an empty IDataPointSet.- Specified by:
createin interfaceIDataPointSetFactory- 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.
-
create
public IDataPointSet create(java.lang.String pathAndTitle, int dimOfPoints)
Description copied from interface:IDataPointSetFactoryCreate an empty IDataPointSet.- Specified by:
createin interfaceIDataPointSetFactory- 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.
-
createCopy
public IDataPointSet createCopy(java.lang.String path, IDataPointSet dataPointSet)
Description copied from interface:IDataPointSetFactoryMake a copy of a given IDataPointSet.- Specified by:
createCopyin interfaceIDataPointSetFactory- 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.
-
destroy
public void destroy(IDataPointSet dataPointSet) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryDestroy a given IDataPointSet.- Specified by:
destroyin interfaceIDataPointSetFactory- Parameters:
dataPointSet- The IDataPointSet to be destroyed.- Throws:
java.lang.IllegalArgumentException- If dataPointSet cannot be destroyed.
-
create
public IDataPointSet create(java.lang.String path, IHistogram1D hist) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IHistogram1D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IHistogram1D hist, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IHistogram1D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IHistogram2D hist) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IHistogram2D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IHistogram2D hist, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IHistogram2D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IHistogram3D hist) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IHistogram3D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IHistogram3D hist, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IHistogram3D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, ICloud1D cloud) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an ICloud1D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, ICloud1D cloud, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an ICloud1D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, ICloud2D cloud) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an ICloud2D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, ICloud2D cloud, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an ICloud2D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, ICloud3D cloud) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an ICloud3D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, ICloud3D cloud, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an ICloud3D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IProfile1D profile) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IProfile1D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IProfile1D profile, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IProfile1D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IProfile2D profile) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IProfile2D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet create(java.lang.String path, IProfile2D profile, java.lang.String options) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate an IDataPointSet from an IProfile2D.- Specified by:
createin interfaceIDataPointSetFactory- 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
public IDataPointSet add(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryAdd two IDataSetPoint, point by point and measurement by measurement.- Specified by:
addin interfaceIDataPointSetFactory- 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
public IDataPointSet subtract(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactorySubtract two IDataSetPoint, point by point and measurement by measurement.- Specified by:
subtractin interfaceIDataPointSetFactory- 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
public IDataPointSet multiply(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryMultiply two IDataSetPoint, point by point and measurement by measurement.- Specified by:
multiplyin interfaceIDataPointSetFactory- 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
public IDataPointSet divide(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryDivide two IDataSetPoint, point by point and measurement by measurement.- Specified by:
dividein interfaceIDataPointSetFactory- 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
public IDataPointSet weightedMean(java.lang.String path, IDataPointSet dataPointSet1, IDataPointSet dataPointSet2) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCalculate weighted means of two IDataSetPoint, point by point and measurement by measurement.- Specified by:
weightedMeanin interfaceIDataPointSetFactory- 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.
-
createX
public IDataPointSet createX(java.lang.String path, double[] xVal, double[] xErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Specified by:
createXin interfaceIDataPointSetFactory- Parameters:
path- 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.xVal- The array of the x valuesxErr- 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
public IDataPointSet createX(java.lang.String path, java.lang.String title, double[] xVal, double[] xErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Specified by:
createXin interfaceIDataPointSetFactory- 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.xVal- The array of the x valuesxErr- 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
public IDataPointSet createX(java.lang.String path, double[] xVal, double[] xErrPlus, double[] xErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Specified by:
createXin interfaceIDataPointSetFactory- Parameters:
path- 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.xVal- The array of the x valuesxErrPlus- The array with the plus errors on xxErrMinus- 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
public IDataPointSet createX(java.lang.String path, java.lang.String title, double[] xVal, double[] xErrPlus, double[] xErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along x (the y value is the index of the x value in the array).- Specified by:
createXin interfaceIDataPointSetFactory- 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.xVal- The array of the x valuesxErrPlus- The array with the plus errors on xxErrMinus- 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.
-
createY
public IDataPointSet createY(java.lang.String path, double[] yVal, double[] yErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Specified by:
createYin interfaceIDataPointSetFactory- Parameters:
path- 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.yVal- The array of the y valuesyErr- 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
public IDataPointSet createY(java.lang.String path, double[] yVal, double[] yErrPlus, double[] yErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Specified by:
createYin interfaceIDataPointSetFactory- Parameters:
path- 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.yVal- The array of the y valuesyErrPlus- The array with the plus errors on yyErrMinus- 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
public IDataPointSet createY(java.lang.String path, java.lang.String title, double[] yVal, double[] yErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Specified by:
createYin interfaceIDataPointSetFactory- 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.yVal- The array of the y valuesyErr- 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
public IDataPointSet createY(java.lang.String path, java.lang.String title, double[] yVal, double[] yErrPlus, double[] yErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data along y (the x value is the index of the y value in the array).- Specified by:
createYin interfaceIDataPointSetFactory- 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.yVal- The array of the y valuesyErrPlus- The array with the plus errors on yyErrMinus- 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
public IDataPointSet createXY(java.lang.String path, double[] xVal, double[] yVal, double[] xErr, double[] yErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data.- Specified by:
createXYin interfaceIDataPointSetFactory- Parameters:
path- 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.xVal- The array of the x valuesyVal- The array of the y valuesxErr- The array with the symmetric errors on xyErr- 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
public IDataPointSet createXY(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] xErr, double[] yErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data.- Specified by:
createXYin interfaceIDataPointSetFactory- 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.xVal- The array of the x valuesyVal- The array of the y valuesxErr- The array with the symmetric errors on xyErr- 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
public IDataPointSet createXY(java.lang.String path, double[] xVal, double[] yVal, double[] xErrPlus, double[] yErrPlus, double[] xErrMinus, double[] yErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data.- Specified by:
createXYin interfaceIDataPointSetFactory- Parameters:
path- 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.xVal- The array of the x valuesyVal- The array of the y valuesxErrPlus- The array with the plus errors on xyErrPlus- The array with the plus errors on yxErrMinus- The array with the minus errors on xyErrMinus- 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
public IDataPointSet createXY(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] xErrPlus, double[] yErrPlus, double[] xErrMinus, double[] yErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data.- Specified by:
createXYin interfaceIDataPointSetFactory- 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.xVal- The array of the x valuesyVal- The array of the y valuesxErrPlus- The array with the plus errors on xyErrPlus- The array with the plus errors on yxErrMinus- The array with the minus errors on xyErrMinus- 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.
-
createXYZ
public IDataPointSet createXYZ(java.lang.String path, double[] xVal, double[] yVal, double[] zVal, double[] xErr, double[] yErr, double[] zErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data.- Specified by:
createXYZin interfaceIDataPointSetFactory- Parameters:
path- 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.xVal- The array of the x valuesyVal- The array of the y valueszVal- The array of the z values- Returns:
- The created IDataPointSet.
- Throws:
java.lang.IllegalArgumentException- if a directory in the path does not exist, or the path is illegal.
-
createXYZ
public IDataPointSet createXYZ(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] zVal, double[] xErr, double[] yErr, double[] zErr) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a three dimensional IDataPointSet providing the data.- Specified by:
createXYZin interfaceIDataPointSetFactory- 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.xVal- The array of the x valuesyVal- The array of the y valueszVal- The array of the z valuesxErr- The array with the symmetric errors on xyErr- The array with the symmetric errors on yzErr- 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
public IDataPointSet createXYZ(java.lang.String path, double[] xVal, double[] yVal, double[] zVal, double[] xErrPlus, double[] yErrPlus, double[] zErrPlus, double[] xErrMinus, double[] yErrMinus, double[] zErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a two dimensional IDataPointSet providing the data.- Specified by:
createXYZin interfaceIDataPointSetFactory- Parameters:
path- 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.xVal- The array of the x valuesyVal- The array of the y valueszVal- The array of the z valuesxErrPlus- The array with the plus errors on xyErrPlus- The array with the plus errors on yzErrPlus- The array with the plus errors on zxErrMinus- The array with the minus errors on xyErrMinus- The array with the minus errors on yzErrMinus- 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
public IDataPointSet createXYZ(java.lang.String path, java.lang.String title, double[] xVal, double[] yVal, double[] zVal, double[] xErrPlus, double[] yErrPlus, double[] zErrPlus, double[] xErrMinus, double[] yErrMinus, double[] zErrMinus) throws java.lang.IllegalArgumentException
Description copied from interface:IDataPointSetFactoryCreate a three dimensional IDataPointSet providing the data.- Specified by:
createXYZin interfaceIDataPointSetFactory- 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.xVal- The array of the x valuesyVal- The array of the y valueszVal- The array of the z valuesxErrPlus- The array with the plus errors on xyErrPlus- The array with the plus errors on yzErrPlus- The array with the plus errors on zxErrMinus- The array with the minus errors on xyErrMinus- The array with the minus errors on yzErrMinus- 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.
-
-
DMelt 3.0 © DataMelt by jWork.ORG