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

org.eclipse.dawnsci.nexus.NXguide 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;

/**
 * A neutron optical element to direct the path of the beam.
 * :ref:`NXguide` is used by neutron instruments to describe
 * a guide consists of several mirrors building a shape through which
 * neutrons can be guided or directed. The simplest such form is box shaped
 * although elliptical guides are gaining in popularity.
 * The individual parts of a guide usually have common characteristics
 * but there are cases where they are different.
 * For example, a neutron guide might consist of 2 or 4 coated walls or
 * a supermirror bender with multiple, coated vanes.
 * To describe polarizing supermirrors such as used in neutron reflection,
 * it may be necessary to revise this definition of :ref:`NXguide`
 * to include :ref:`NXpolarizer` and/or :ref:`NXmirror`.
 * When even greater complexity exists in the definition of what
 * constitutes a *guide*, it has been suggested that :ref:`NXguide`
 * be redefined as a :ref:`NXcollection` of :ref:`NXmirror` each
 * having their own :ref:`NXgeometry` describing their location(s).
 * For the more general case when describing mirrors, consider using
 * :ref:`NXmirror`.
 * NOTE: The NeXus International Advisory Committee welcomes
 * comments for revision and improvement of
 * this definition of :ref:`NXguide`.
 * 

Symbols:

    *
  • nsurf * number of reflecting surfaces
  • *
  • nwl * number of wavelengths

* */ public interface NXguide extends NXobject { public static final String NX_DESCRIPTION = "description"; public static final String NX_INCIDENT_ANGLE = "incident_angle"; public static final String NX_BEND_ANGLE_X = "bend_angle_x"; public static final String NX_BEND_ANGLE_Y = "bend_angle_y"; public static final String NX_INTERIOR_ATMOSPHERE = "interior_atmosphere"; public static final String NX_EXTERNAL_MATERIAL = "external_material"; public static final String NX_M_VALUE = "m_value"; public static final String NX_SUBSTRATE_MATERIAL = "substrate_material"; public static final String NX_SUBSTRATE_THICKNESS = "substrate_thickness"; public static final String NX_COATING_MATERIAL = "coating_material"; public static final String NX_SUBSTRATE_ROUGHNESS = "substrate_roughness"; public static final String NX_COATING_ROUGHNESS = "coating_roughness"; public static final String NX_NUMBER_SECTIONS = "number_sections"; /** * TODO: Explain what this NXgeometry group means. What is intended here? * * @return the value. */ public NXgeometry getGeometry(); /** * TODO: Explain what this NXgeometry group means. What is intended here? * * @param geometry the geometry */ public void setGeometry(NXgeometry geometry); /** * Get a NXgeometry node by name: *
    *
  • * TODO: Explain what this NXgeometry group means. What is intended here?
  • *
* * @param name the name of the node. * @return a map from node names to the NXgeometry for that node. */ public NXgeometry getGeometry(String name); /** * Set a NXgeometry node by name: *
    *
  • * TODO: Explain what this NXgeometry group means. What is intended here?
  • *
* * @param name the name of the node * @param geometry the value to set */ public void setGeometry(String name, NXgeometry geometry); /** * Get all NXgeometry nodes: *
    *
  • * TODO: Explain what this NXgeometry group means. What is intended here?
  • *
* * @return a map from node names to the NXgeometry for that node. */ public Map getAllGeometry(); /** * Set multiple child nodes of a particular type. *
    *
  • * TODO: Explain what this NXgeometry group means. What is intended here?
  • *
* * @param geometry the child nodes to add */ public void setAllGeometry(Map geometry); /** * A description of this particular instance of ``NXguide``. * * @return the value. */ public IDataset getDescription(); /** * A description of this particular instance of ``NXguide``. * * @param description the description */ public DataNode setDescription(IDataset description); /** * A description of this particular instance of ``NXguide``. * * @return the value. */ public String getDescriptionScalar(); /** * A description of this particular instance of ``NXguide``. * * @param description the description */ public DataNode setDescriptionScalar(String description); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public IDataset getIncident_angle(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param incident_angle the incident_angle */ public DataNode setIncident_angle(IDataset incident_angle); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public Double getIncident_angleScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param incident_angle the incident_angle */ public DataNode setIncident_angleScalar(Double incident_angle); /** * Reflectivity as function of reflecting surface and wavelength * * @return the value. */ public NXdata getReflectivity(); /** * Reflectivity as function of reflecting surface and wavelength * * @param reflectivity the reflectivity */ public void setReflectivity(NXdata reflectivity); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public IDataset getBend_angle_x(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param bend_angle_x the bend_angle_x */ public DataNode setBend_angle_x(IDataset bend_angle_x); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public Double getBend_angle_xScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param bend_angle_x the bend_angle_x */ public DataNode setBend_angle_xScalar(Double bend_angle_x); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public IDataset getBend_angle_y(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param bend_angle_y the bend_angle_y */ public DataNode setBend_angle_y(IDataset bend_angle_y); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public Double getBend_angle_yScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param bend_angle_y the bend_angle_y */ public DataNode setBend_angle_yScalar(Double bend_angle_y); /** *

*

Enumeration:

    *
  • vacuum
  • *
  • helium
  • *
  • argon

*

* * @return the value. */ public IDataset getInterior_atmosphere(); /** *

*

Enumeration:

    *
  • vacuum
  • *
  • helium
  • *
  • argon

*

* * @param interior_atmosphere the interior_atmosphere */ public DataNode setInterior_atmosphere(IDataset interior_atmosphere); /** *

*

Enumeration:

    *
  • vacuum
  • *
  • helium
  • *
  • argon

*

* * @return the value. */ public String getInterior_atmosphereScalar(); /** *

*

Enumeration:

    *
  • vacuum
  • *
  • helium
  • *
  • argon

*

* * @param interior_atmosphere the interior_atmosphere */ public DataNode setInterior_atmosphereScalar(String interior_atmosphere); /** * external material outside substrate * * @return the value. */ public IDataset getExternal_material(); /** * external material outside substrate * * @param external_material the external_material */ public DataNode setExternal_material(IDataset external_material); /** * external material outside substrate * * @return the value. */ public String getExternal_materialScalar(); /** * external material outside substrate * * @param external_material the external_material */ public DataNode setExternal_materialScalar(String external_material); /** * The ``m`` value for a supermirror, which defines the supermirror * regime in multiples of the critical angle of Nickel. *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @return the value. */ public IDataset getM_value(); /** * The ``m`` value for a supermirror, which defines the supermirror * regime in multiples of the critical angle of Nickel. *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @param m_value the m_value */ public DataNode setM_value(IDataset m_value); /** * The ``m`` value for a supermirror, which defines the supermirror * regime in multiples of the critical angle of Nickel. *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @return the value. */ public Double getM_valueScalar(); /** * The ``m`` value for a supermirror, which defines the supermirror * regime in multiples of the critical angle of Nickel. *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @param m_value the m_value */ public DataNode setM_valueScalar(Double m_value); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @return the value. */ public IDataset getSubstrate_material(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @param substrate_material the substrate_material */ public DataNode setSubstrate_material(IDataset substrate_material); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @return the value. */ public Double getSubstrate_materialScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @param substrate_material the substrate_material */ public DataNode setSubstrate_materialScalar(Double substrate_material); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @return the value. */ public IDataset getSubstrate_thickness(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @param substrate_thickness the substrate_thickness */ public DataNode setSubstrate_thickness(IDataset substrate_thickness); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @return the value. */ public Double getSubstrate_thicknessScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @param substrate_thickness the substrate_thickness */ public DataNode setSubstrate_thicknessScalar(Double substrate_thickness); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @return the value. */ public IDataset getCoating_material(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @param coating_material the coating_material */ public DataNode setCoating_material(IDataset coating_material); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @return the value. */ public Double getCoating_materialScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Dimensions: 1: nsurf; *

* * @param coating_material the coating_material */ public DataNode setCoating_materialScalar(Double coating_material); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @return the value. */ public IDataset getSubstrate_roughness(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @param substrate_roughness the substrate_roughness */ public DataNode setSubstrate_roughness(IDataset substrate_roughness); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @return the value. */ public Double getSubstrate_roughnessScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @param substrate_roughness the substrate_roughness */ public DataNode setSubstrate_roughnessScalar(Double substrate_roughness); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @return the value. */ public IDataset getCoating_roughness(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @param coating_roughness the coating_roughness */ public DataNode setCoating_roughness(IDataset coating_roughness); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @return the value. */ public Double getCoating_roughnessScalar(); /** * TODO: documentation needed *

* Type: NX_FLOAT * Units: NX_LENGTH * Dimensions: 1: nsurf; *

* * @param coating_roughness the coating_roughness */ public DataNode setCoating_roughnessScalar(Double coating_roughness); /** * number of substrate sections (also called ``nsurf`` as an * index in the ``NXguide`` specification) *

* Type: NX_INT * Units: NX_UNITLESS *

* * @return the value. */ public IDataset getNumber_sections(); /** * number of substrate sections (also called ``nsurf`` as an * index in the ``NXguide`` specification) *

* Type: NX_INT * Units: NX_UNITLESS *

* * @param number_sections the number_sections */ public DataNode setNumber_sections(IDataset number_sections); /** * number of substrate sections (also called ``nsurf`` as an * index in the ``NXguide`` specification) *

* Type: NX_INT * Units: NX_UNITLESS *

* * @return the value. */ public Long getNumber_sectionsScalar(); /** * number of substrate sections (also called ``nsurf`` as an * index in the ``NXguide`` specification) *

* Type: NX_INT * Units: NX_UNITLESS *

* * @param number_sections the number_sections */ public DataNode setNumber_sectionsScalar(Long number_sections); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy