All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.dawnsci.nexus.NXdata Maven / Gradle / Ivy

/*-
 *******************************************************************************
 * Copyright (c) 2015 Diamond Light Source Ltd.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * This file was auto-generated from the NXDL XML definition.
 *******************************************************************************/

package org.eclipse.dawnsci.nexus;

import java.util.Map;

import org.eclipse.dawnsci.analysis.api.tree.DataNode;

import org.eclipse.january.dataset.IDataset;

/**
 * :ref:`NXdata` describes the plottable data and related dimension scales.
 * .. index:: plotting
 * It is mandatory that there is at least one :ref:`NXdata` group
 * in each :ref:`NXentry` group.
 * Note that the ``variable`` and ``data``
 * can be defined with different names.
 * The ``signal`` and ``axes`` attributes of the
 * ``data`` group define which items
 * are plottable data and which are *dimension scales*, respectively.
 * :ref:`NXdata` is used to implement one of the basic motivations in NeXus,
 * to provide a default plot for the data of this :ref:`NXentry`. The actual data
 * might be stored in another group and (hard) linked to the :ref:`NXdata` group.
 * * Each :ref:`NXdata` group will define only one data set
 * containing plottable data, dimension scales, and
 * possibly associated standard deviations.
 * Other data sets may be present in the group.
 * * The plottable data may be of arbitrary rank up to a maximum
 * of ``NX_MAXRANK=32``.
 * * The plottable data will be named as the value of
 * the group ``signal`` attribute, such as::
 * data:NXdata
 * @signal = "counts"
 * @axes = "mr"
 * @mr_indices = 0
 * counts: float[100] --> the default dependent data
 * mr: float[100] --> the default independent data
 * The field named in the ``signal`` attribute **must** exist, either
 * directly as a dataset or defined through a link.
 * * The group ``axes`` attribute will name the
 * *dimension scale* associated with the plottable data.
 * If available, the standard deviations of the data are to be
 * stored in a data set of the same rank and dimensions, with the name ``errors``.
 * * For each data dimension, there should be a one-dimensional array
 * of the same length.
 * * These one-dimensional arrays are the *dimension scales* of the
 * data, *i.e*. the values of the independent variables at which the data
 * is measured, such as scattering angle or energy transfer.
 * .. index:: link
 * .. index:: axes (attribute)
 * The preferred method to associate each data dimension with
 * its respective dimension scale is to specify the field name
 * of each dimension scale in the group ``axes`` attribute as a string list.
 * Here is an example for a 2-D data set *data* plotted
 * against *time*, and *pressure*. (An additional *temperature* data set
 * is provided and could be selected as an alternate for the *pressure* axis.)::
 * data_2d:NXdata
 * @signal="data"
 * @axes=["time", "pressure"]
 * @pressure_indices=1
 * @temperature_indices=1
 * @time_indices=0
 * data: float[1000,20]
 * pressure: float[20]
 * temperature: float[20]
 * time: float[1000]
 * .. rubric:: Old methods to identify the plottable data
 * There are two older methods of associating
 * each data dimension to its respective dimension scale.
 * Both are now out of date and
 * should not be used when writing new data files.
 * However, client software should expect to see data files
 * written with any of these methods.
 * * One method uses the ``axes``
 * attribute to specify the names of each *dimension scale*.
 * * The oldest method uses the ``axis`` attribute on each
 * *dimension scale* to identify
 * with an integer the axis whose value is the number of the dimension.
 * 

Symbols: * These symbols will be used below to coordinate datasets with the same shape.

    *
  • dataRank * rank of the ``data`` field
  • *
  • n * length of the ``variable`` field
  • *
  • nx * length of the ``x`` field
  • *
  • ny * length of the ``y`` field
  • *
  • nz * length of the ``z`` field

* */ public interface NXdata extends NXobject { public static final String NX_ATTRIBUTE_SIGNAL = "signal"; public static final String NX_ATTRIBUTE_AXES = "axes"; public static final String NX_ATTRIBUTE_AXISNAME_INDICES = "AXISNAME_indices"; public static final String NX_VARIABLE = "VARIABLE"; public static final String NX_VARIABLE_ATTRIBUTE_LONG_NAME = "long_name"; public static final String NX_VARIABLE_ATTRIBUTE_DISTRIBUTION = "distribution"; public static final String NX_VARIABLE_ATTRIBUTE_FIRST_GOOD = "first_good"; public static final String NX_VARIABLE_ATTRIBUTE_LAST_GOOD = "last_good"; public static final String NX_VARIABLE_ATTRIBUTE_AXIS = "axis"; public static final String NX_VARIABLE_ERRORS = "VARIABLE_errors"; public static final String NX_DATA = "data"; public static final String NX_DATA_ATTRIBUTE_SIGNAL = "signal"; public static final String NX_DATA_ATTRIBUTE_AXES = "axes"; public static final String NX_DATA_ATTRIBUTE_UNCERTAINTIES = "uncertainties"; public static final String NX_DATA_ATTRIBUTE_LONG_NAME = "long_name"; public static final String NX_ERRORS = "errors"; public static final String NX_SCALING_FACTOR = "scaling_factor"; public static final String NX_OFFSET = "offset"; public static final String NX_X = "x"; public static final String NX_Y = "y"; public static final String NX_Z = "z"; /** * .. index:: plotting * Declares which dataset is the default. * The value is the name of the dataset to be plotted. * A field of this name *must* exist (either as dataset * or as a link to a dataset). * It is recommended (as of NIAC2014) to use this attribute * rather than adding a signal attribute to the dataset. * See http://wiki.nexusformat.org/2014_How_to_find_default_data * for a summary of the discussion. * * @return the value. */ public String getAttributeSignal(); /** * .. index:: plotting * Declares which dataset is the default. * The value is the name of the dataset to be plotted. * A field of this name *must* exist (either as dataset * or as a link to a dataset). * It is recommended (as of NIAC2014) to use this attribute * rather than adding a signal attribute to the dataset. * See http://wiki.nexusformat.org/2014_How_to_find_default_data * for a summary of the discussion. * * @param signal the signal */ public void setAttributeSignal(String signal); /** * .. index:: plotting * String array that defines the independent data fields used in * the default plot for all of the dimensions of the *signal* field * (the *signal* field is the field in this group that is named by * the ``signal`` attribute of this group). * One entry is provided for every dimension in the *signal* field. * The field(s) named as values (known as "axes") of this attribute * *must* exist. An axis slice is specified using a field named * ``AXISNAME_indices`` as described below (where the text shown here * as ``AXISNAME`` is to be replaced by the actual field name). * When no default axis is available for a particular dimension * of the plottable data, use a "." in that position. * Such as:: * @axes=["time", ".", "."] * Since there are three items in the list, the the *signal* field * must must be a three-dimensional array (rank=3). The first dimension * is described by the values of a one-dimensional array named ``time`` * while the other two dimensions have no fields to be used as dimension scales. * See examples provided on the NeXus wiki: * http://www.nexusformat.org/2014_axes_and_uncertainties * If there are no axes at all (such as with a stack of images), * the axes attribute can be omitted. * * @return the value. */ public String getAttributeAxes(); /** * .. index:: plotting * String array that defines the independent data fields used in * the default plot for all of the dimensions of the *signal* field * (the *signal* field is the field in this group that is named by * the ``signal`` attribute of this group). * One entry is provided for every dimension in the *signal* field. * The field(s) named as values (known as "axes") of this attribute * *must* exist. An axis slice is specified using a field named * ``AXISNAME_indices`` as described below (where the text shown here * as ``AXISNAME`` is to be replaced by the actual field name). * When no default axis is available for a particular dimension * of the plottable data, use a "." in that position. * Such as:: * @axes=["time", ".", "."] * Since there are three items in the list, the the *signal* field * must must be a three-dimensional array (rank=3). The first dimension * is described by the values of a one-dimensional array named ``time`` * while the other two dimensions have no fields to be used as dimension scales. * See examples provided on the NeXus wiki: * http://www.nexusformat.org/2014_axes_and_uncertainties * If there are no axes at all (such as with a stack of images), * the axes attribute can be omitted. * * @param axes the axes */ public void setAttributeAxes(String axes); /** * Each ``AXISNAME_indices`` attribute indicates the dependency * relationship of the ``AXISNAME`` field (where ``AXISNAME`` * is the name of a field that exists in this ``NXdata`` group) * with one or more dimensions of the plottable data. * Integer array that defines the indices of the *signal* field * (that field will be a multidimensional array) * which need to be used in the *AXISNAME* dataset in * order to reference the corresponding axis value. * The first index of an array is ``0`` (zero). * Here, *AXISNAME* is to be replaced by the name of each * field described in the ``axes`` attribute. * An example with 2-D data, :math:`d(t,P)`, will illustrate:: * data_2d:NXdata * @signal="data" * @axes=["time", "pressure"] * @time_indices=0 * @pressure_indices=1 * data: float[1000,20] * time: float[1000] * pressure: float[20] * This attribute is to be provided in all situations. * However, if the indices attributes are missing * (such as for data files written before this specification), * file readers are encouraged to make their best efforts * to plot the data. * Thus the implementation of the * ``AXISNAME_indices`` attribute is based on the model of * "strict writer, liberal reader". * .. note:: Attributes potentially containing multiple values * (axes and _indices) are to be written as string or integer arrays, * to avoid string parsing in reading applications. * * @return the value. */ public String getAttributeAXISNAME_indices(); /** * Each ``AXISNAME_indices`` attribute indicates the dependency * relationship of the ``AXISNAME`` field (where ``AXISNAME`` * is the name of a field that exists in this ``NXdata`` group) * with one or more dimensions of the plottable data. * Integer array that defines the indices of the *signal* field * (that field will be a multidimensional array) * which need to be used in the *AXISNAME* dataset in * order to reference the corresponding axis value. * The first index of an array is ``0`` (zero). * Here, *AXISNAME* is to be replaced by the name of each * field described in the ``axes`` attribute. * An example with 2-D data, :math:`d(t,P)`, will illustrate:: * data_2d:NXdata * @signal="data" * @axes=["time", "pressure"] * @time_indices=0 * @pressure_indices=1 * data: float[1000,20] * time: float[1000] * pressure: float[20] * This attribute is to be provided in all situations. * However, if the indices attributes are missing * (such as for data files written before this specification), * file readers are encouraged to make their best efforts * to plot the data. * Thus the implementation of the * ``AXISNAME_indices`` attribute is based on the model of * "strict writer, liberal reader". * .. note:: Attributes potentially containing multiple values * (axes and _indices) are to be written as string or integer arrays, * to avoid string parsing in reading applications. * * @param AXISNAME_indices the AXISNAME_indices */ public void setAttributeAXISNAME_indices(String AXISNAME_indices); /** * Dimension scale defining an axis of the data. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @return the value. */ public IDataset getVARIABLE(); /** * Dimension scale defining an axis of the data. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @param VARIABLE the VARIABLE */ public DataNode setVARIABLE(IDataset VARIABLE); /** * Dimension scale defining an axis of the data. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @return the value. */ public Number getVARIABLEScalar(); /** * Dimension scale defining an axis of the data. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @param VARIABLE the VARIABLE */ public DataNode setVARIABLEScalar(Number VARIABLE); /** * Get all VARIABLE fields: * * Dimension scale defining an axis of the data. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @return a map from node names to the ? extends IDataset for that node. */ public Map getAllVARIABLE(); /** * Axis label * * @return the value. */ public String getVARIABLEAttributeLong_name(); /** * Axis label * * @param long_name the long_name */ public void setVARIABLEAttributeLong_name(String long_name); /** * ``0|false``: single value, * ``1|true``: multiple values * * @return the value. */ public Boolean getVARIABLEAttributeDistribution(); /** * ``0|false``: single value, * ``1|true``: multiple values * * @param distribution the distribution */ public void setVARIABLEAttributeDistribution(Boolean distribution); /** * Index of first good value * * @return the value. */ public Long getVARIABLEAttributeFirst_good(); /** * Index of first good value * * @param first_good the first_good */ public void setVARIABLEAttributeFirst_good(Long first_good); /** * Index of last good value * * @return the value. */ public Long getVARIABLEAttributeLast_good(); /** * Index of last good value * * @param last_good the last_good */ public void setVARIABLEAttributeLast_good(Long last_good); /** * Index (positive integer) identifying this specific set of numbers. * N.B. The ``axis`` attribute is the old way of designating a link. * Do not use the ``axes`` attribute with the ``axis`` attribute. * The ``axes`` *group* attribute is now preferred. * * @deprecated Use the group ``axes`` attribute (NIAC2014) * @return the value. */ @Deprecated public Long getVARIABLEAttributeAxis(); /** * Index (positive integer) identifying this specific set of numbers. * N.B. The ``axis`` attribute is the old way of designating a link. * Do not use the ``axes`` attribute with the ``axis`` attribute. * The ``axes`` *group* attribute is now preferred. * * @deprecated Use the group ``axes`` attribute (NIAC2014) * @param axis the axis */ @Deprecated public void setVARIABLEAttributeAxis(Long axis); /** * Errors (uncertainties) associated with axis ``VARIABLE``. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances * but is matched with the *VARIABLE* * field with ``_errors`` appended. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @return the value. */ public IDataset getVARIABLE_errors(); /** * Errors (uncertainties) associated with axis ``VARIABLE``. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances * but is matched with the *VARIABLE* * field with ``_errors`` appended. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @param VARIABLE_errors the VARIABLE_errors */ public DataNode setVARIABLE_errors(IDataset VARIABLE_errors); /** * Errors (uncertainties) associated with axis ``VARIABLE``. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances * but is matched with the *VARIABLE* * field with ``_errors`` appended. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @return the value. */ public Number getVARIABLE_errorsScalar(); /** * Errors (uncertainties) associated with axis ``VARIABLE``. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances * but is matched with the *VARIABLE* * field with ``_errors`` appended. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @param VARIABLE_errors the VARIABLE_errors */ public DataNode setVARIABLE_errorsScalar(Number VARIABLE_errors); /** * Get all VARIABLE_errors fields: * * Errors (uncertainties) associated with axis ``VARIABLE``. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances * but is matched with the *VARIABLE* * field with ``_errors`` appended. *

* Type: NX_NUMBER * Dimensions: 1: n; *

* * @return a map from node names to the ? extends IDataset for that node. */ public Map getAllVARIABLE_errors(); /** * .. index:: plotting * This field contains the data values to be used as the * NeXus *plottable data*. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @return the value. */ public IDataset getData(); /** * .. index:: plotting * This field contains the data values to be used as the * NeXus *plottable data*. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @param data the data */ public DataNode setData(IDataset data); /** * .. index:: plotting * This field contains the data values to be used as the * NeXus *plottable data*. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @return the value. */ public Number getDataScalar(); /** * .. index:: plotting * This field contains the data values to be used as the * NeXus *plottable data*. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @param data the data */ public DataNode setDataScalar(Number data); /** * Get all Data fields: * * .. index:: plotting * This field contains the data values to be used as the * NeXus *plottable data*. * Client is responsible for defining the dimensions of the data. * The name of this field may be changed to fit the circumstances. * Standard NeXus client tools will use the attributes to determine * how to use this field. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @return a map from node names to the ? extends IDataset for that node. */ public Map getAllData(); /** * .. index:: plotting * Plottable (independent) axis, indicate index number. * Only one field in a :ref:`NXdata` group may have the * ``signal=1`` attribute. * Do not use the ``signal`` attribute with the ``axis`` attribute. * * @deprecated Use the group ``signal`` attribute (NIAC2014) * @return the value. */ @Deprecated public Long getDataAttributeSignal(); /** * .. index:: plotting * Plottable (independent) axis, indicate index number. * Only one field in a :ref:`NXdata` group may have the * ``signal=1`` attribute. * Do not use the ``signal`` attribute with the ``axis`` attribute. * * @deprecated Use the group ``signal`` attribute (NIAC2014) * @param signal the signal */ @Deprecated public void setDataAttributeSignal(Long signal); /** * Defines the names of the dimension scales * (independent axes) for this data set * as a colon-delimited array. * NOTE: The ``axes`` attribute is the preferred * method of designating a link. * Do not use the ``axes`` attribute with the ``axis`` attribute. * * @deprecated Use the group ``axes`` attribute (NIAC2014) * @return the value. */ @Deprecated public String getDataAttributeAxes(); /** * Defines the names of the dimension scales * (independent axes) for this data set * as a colon-delimited array. * NOTE: The ``axes`` attribute is the preferred * method of designating a link. * Do not use the ``axes`` attribute with the ``axis`` attribute. * * @deprecated Use the group ``axes`` attribute (NIAC2014) * @param axes the axes */ @Deprecated public void setDataAttributeAxes(String axes); /** * Specify the name (or names) of the uncertainties (errors) * of the dependent axes as plottable data. * NOTE: The ``uncertainties`` attribute uses the same syntax * as the ``axes`` attribute, a string or an array of strings * for multiple uncertainties. * Examples:: * @uncertainties="data_errors" * @uncertainties="Idev" * @uncertainties=["dQw", "dQl"] * * @return the value. */ public String getDataAttributeUncertainties(); /** * Specify the name (or names) of the uncertainties (errors) * of the dependent axes as plottable data. * NOTE: The ``uncertainties`` attribute uses the same syntax * as the ``axes`` attribute, a string or an array of strings * for multiple uncertainties. * Examples:: * @uncertainties="data_errors" * @uncertainties="Idev" * @uncertainties=["dQw", "dQl"] * * @param uncertainties the uncertainties */ public void setDataAttributeUncertainties(String uncertainties); /** * data label * * @return the value. */ public String getDataAttributeLong_name(); /** * data label * * @param long_name the long_name */ public void setDataAttributeLong_name(String long_name); /** * Standard deviations of data values - * the data array is identified by the group attribute ``signal``. * The ``errors`` array must have the same dimensions as ``data``. * Client is responsible for defining the dimensions of the data. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @return the value. */ public IDataset getErrors(); /** * Standard deviations of data values - * the data array is identified by the group attribute ``signal``. * The ``errors`` array must have the same dimensions as ``data``. * Client is responsible for defining the dimensions of the data. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @param errors the errors */ public DataNode setErrors(IDataset errors); /** * Standard deviations of data values - * the data array is identified by the group attribute ``signal``. * The ``errors`` array must have the same dimensions as ``data``. * Client is responsible for defining the dimensions of the data. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @return the value. */ public Number getErrorsScalar(); /** * Standard deviations of data values - * the data array is identified by the group attribute ``signal``. * The ``errors`` array must have the same dimensions as ``data``. * Client is responsible for defining the dimensions of the data. *

* Type: NX_NUMBER * Dimensions: 0: n; *

* * @param errors the errors */ public DataNode setErrorsScalar(Number errors); /** * The elements in data are usually float values really. For * efficiency reasons these are usually stored as integers * after scaling with a scale factor. This value is the scale * factor. It is required to get the actual physical value, * when necessary. *

* Type: NX_FLOAT *

* * @return the value. */ public IDataset getScaling_factor(); /** * The elements in data are usually float values really. For * efficiency reasons these are usually stored as integers * after scaling with a scale factor. This value is the scale * factor. It is required to get the actual physical value, * when necessary. *

* Type: NX_FLOAT *

* * @param scaling_factor the scaling_factor */ public DataNode setScaling_factor(IDataset scaling_factor); /** * The elements in data are usually float values really. For * efficiency reasons these are usually stored as integers * after scaling with a scale factor. This value is the scale * factor. It is required to get the actual physical value, * when necessary. *

* Type: NX_FLOAT *

* * @return the value. */ public Double getScaling_factorScalar(); /** * The elements in data are usually float values really. For * efficiency reasons these are usually stored as integers * after scaling with a scale factor. This value is the scale * factor. It is required to get the actual physical value, * when necessary. *

* Type: NX_FLOAT *

* * @param scaling_factor the scaling_factor */ public DataNode setScaling_factorScalar(Double scaling_factor); /** * An optional offset to apply to the values in data. *

* Type: NX_FLOAT *

* * @return the value. */ public IDataset getOffset(); /** * An optional offset to apply to the values in data. *

* Type: NX_FLOAT *

* * @param offset the offset */ public DataNode setOffset(IDataset offset); /** * An optional offset to apply to the values in data. *

* Type: NX_FLOAT *

* * @return the value. */ public Double getOffsetScalar(); /** * An optional offset to apply to the values in data. *

* Type: NX_FLOAT *

* * @param offset the offset */ public DataNode setOffsetScalar(Double offset); /** * This is an array holding the values to use for the x-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nx; *

* * @return the value. */ public IDataset getX(); /** * This is an array holding the values to use for the x-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nx; *

* * @param x the x */ public DataNode setX(IDataset x); /** * This is an array holding the values to use for the x-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nx; *

* * @return the value. */ public Double getXScalar(); /** * This is an array holding the values to use for the x-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nx; *

* * @param x the x */ public DataNode setXScalar(Double x); /** * This is an array holding the values to use for the y-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ny; *

* * @return the value. */ public IDataset getY(); /** * This is an array holding the values to use for the y-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ny; *

* * @param y the y */ public DataNode setY(IDataset y); /** * This is an array holding the values to use for the y-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ny; *

* * @return the value. */ public Double getYScalar(); /** * This is an array holding the values to use for the y-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: ny; *

* * @param y the y */ public DataNode setYScalar(Double y); /** * This is an array holding the values to use for the z-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nz; *

* * @return the value. */ public IDataset getZ(); /** * This is an array holding the values to use for the z-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nz; *

* * @param z the z */ public DataNode setZ(IDataset z); /** * This is an array holding the values to use for the z-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nz; *

* * @return the value. */ public Double getZScalar(); /** * This is an array holding the values to use for the z-axis of * data. The units must be appropriate for the measurement. *

* Type: NX_FLOAT * Units: NX_ANY * Dimensions: 1: nz; *

* * @param z the z */ public DataNode setZScalar(Double z); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy