org.eclipse.dawnsci.nexus.NXdisk_chopper 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 device blocking the beam in a temporal periodic pattern.
* TODO: need documentation
*
*/
public interface NXdisk_chopper extends NXobject {
public static final String NX_TYPE = "type";
public static final String NX_ROTATION_SPEED = "rotation_speed";
public static final String NX_SLITS = "slits";
public static final String NX_SLIT_ANGLE = "slit_angle";
public static final String NX_PAIR_SEPARATION = "pair_separation";
public static final String NX_RADIUS = "radius";
public static final String NX_SLIT_HEIGHT = "slit_height";
public static final String NX_PHASE = "phase";
public static final String NX_RATIO = "ratio";
public static final String NX_DISTANCE = "distance";
public static final String NX_WAVELENGTH_RANGE = "wavelength_range";
/**
* Type of the disk-chopper: only one from the enumerated list (match text exactly)
*
*
Enumeration:
* - Chopper type single
* - contra_rotating_pair
* - synchro_pair
*
*
* @return the value.
*/
public IDataset getType();
/**
* Type of the disk-chopper: only one from the enumerated list (match text exactly)
*
*
Enumeration:
* - Chopper type single
* - contra_rotating_pair
* - synchro_pair
*
*
* @param type the type
*/
public DataNode setType(IDataset type);
/**
* Type of the disk-chopper: only one from the enumerated list (match text exactly)
*
*
Enumeration:
* - Chopper type single
* - contra_rotating_pair
* - synchro_pair
*
*
* @return the value.
*/
public String getTypeScalar();
/**
* Type of the disk-chopper: only one from the enumerated list (match text exactly)
*
*
Enumeration:
* - Chopper type single
* - contra_rotating_pair
* - synchro_pair
*
*
* @param type the type
*/
public DataNode setTypeScalar(String type);
/**
* chopper rotation speed
*
* Type: NX_FLOAT
* Units: NX_FREQUENCY
*
*
* @return the value.
*/
public IDataset getRotation_speed();
/**
* chopper rotation speed
*
* Type: NX_FLOAT
* Units: NX_FREQUENCY
*
*
* @param rotation_speed the rotation_speed
*/
public DataNode setRotation_speed(IDataset rotation_speed);
/**
* chopper rotation speed
*
* Type: NX_FLOAT
* Units: NX_FREQUENCY
*
*
* @return the value.
*/
public Double getRotation_speedScalar();
/**
* chopper rotation speed
*
* Type: NX_FLOAT
* Units: NX_FREQUENCY
*
*
* @param rotation_speed the rotation_speed
*/
public DataNode setRotation_speedScalar(Double rotation_speed);
/**
* Number of slits
*
* Type: NX_INT
*
*
* @return the value.
*/
public IDataset getSlits();
/**
* Number of slits
*
* Type: NX_INT
*
*
* @param slits the slits
*/
public DataNode setSlits(IDataset slits);
/**
* Number of slits
*
* Type: NX_INT
*
*
* @return the value.
*/
public Long getSlitsScalar();
/**
* Number of slits
*
* Type: NX_INT
*
*
* @param slits the slits
*/
public DataNode setSlitsScalar(Long slits);
/**
* angular opening
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public IDataset getSlit_angle();
/**
* angular opening
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param slit_angle the slit_angle
*/
public DataNode setSlit_angle(IDataset slit_angle);
/**
* angular opening
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public Double getSlit_angleScalar();
/**
* angular opening
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param slit_angle the slit_angle
*/
public DataNode setSlit_angleScalar(Double slit_angle);
/**
* disc spacing in direction of beam
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getPair_separation();
/**
* disc spacing in direction of beam
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param pair_separation the pair_separation
*/
public DataNode setPair_separation(IDataset pair_separation);
/**
* disc spacing in direction of beam
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getPair_separationScalar();
/**
* disc spacing in direction of beam
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param pair_separation the pair_separation
*/
public DataNode setPair_separationScalar(Double pair_separation);
/**
* radius to centre of slit
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getRadius();
/**
* radius to centre of slit
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param radius the radius
*/
public DataNode setRadius(IDataset radius);
/**
* radius to centre of slit
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getRadiusScalar();
/**
* radius to centre of slit
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param radius the radius
*/
public DataNode setRadiusScalar(Double radius);
/**
* total slit height
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getSlit_height();
/**
* total slit height
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param slit_height the slit_height
*/
public DataNode setSlit_height(IDataset slit_height);
/**
* total slit height
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getSlit_heightScalar();
/**
* total slit height
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param slit_height the slit_height
*/
public DataNode setSlit_heightScalar(Double slit_height);
/**
* chopper phase angle
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public IDataset getPhase();
/**
* chopper phase angle
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param phase the phase
*/
public DataNode setPhase(IDataset phase);
/**
* chopper phase angle
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public Double getPhaseScalar();
/**
* chopper phase angle
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param phase the phase
*/
public DataNode setPhaseScalar(Double phase);
/**
* pulse reduction factor of this chopper in relation to other
* choppers/fastest pulse in the instrument
*
* Type: NX_INT
*
*
* @return the value.
*/
public IDataset getRatio();
/**
* pulse reduction factor of this chopper in relation to other
* choppers/fastest pulse in the instrument
*
* Type: NX_INT
*
*
* @param ratio the ratio
*/
public DataNode setRatio(IDataset ratio);
/**
* pulse reduction factor of this chopper in relation to other
* choppers/fastest pulse in the instrument
*
* Type: NX_INT
*
*
* @return the value.
*/
public Long getRatioScalar();
/**
* pulse reduction factor of this chopper in relation to other
* choppers/fastest pulse in the instrument
*
* Type: NX_INT
*
*
* @param ratio the ratio
*/
public DataNode setRatioScalar(Long ratio);
/**
* Effective distance to the origin
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getDistance();
/**
* Effective distance to the origin
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param distance the distance
*/
public DataNode setDistance(IDataset distance);
/**
* Effective distance to the origin
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getDistanceScalar();
/**
* Effective distance to the origin
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param distance the distance
*/
public DataNode setDistanceScalar(Double distance);
/**
* low and high values of wavelength range transmitted
*
* Type: NX_FLOAT
* Units: NX_WAVELENGTH
* Dimensions: 1: 2;
*
*
* @return the value.
*/
public IDataset getWavelength_range();
/**
* low and high values of wavelength range transmitted
*
* Type: NX_FLOAT
* Units: NX_WAVELENGTH
* Dimensions: 1: 2;
*
*
* @param wavelength_range the wavelength_range
*/
public DataNode setWavelength_range(IDataset wavelength_range);
/**
* low and high values of wavelength range transmitted
*
* Type: NX_FLOAT
* Units: NX_WAVELENGTH
* Dimensions: 1: 2;
*
*
* @return the value.
*/
public Double getWavelength_rangeScalar();
/**
* low and high values of wavelength range transmitted
*
* Type: NX_FLOAT
* Units: NX_WAVELENGTH
* Dimensions: 1: 2;
*
*
* @param wavelength_range the wavelength_range
*/
public DataNode setWavelength_rangeScalar(Double wavelength_range);
/**
*
* @return the value.
*/
public NXgeometry getGeometry();
/**
*
* @param geometry the geometry
*/
public void setGeometry(NXgeometry geometry);
/**
* Get a NXgeometry node by name:
*
*
*
*
* @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:
*
*
*
*
* @param name the name of the node
* @param geometry the value to set
*/
public void setGeometry(String name, NXgeometry geometry);
/**
* Get all NXgeometry nodes:
*
*
*
*
* @return a map from node names to the NXgeometry for that node.
*/
public Map getAllGeometry();
/**
* Set multiple child nodes of a particular type.
*
*
*
*
* @param geometry the child nodes to add
*/
public void setAllGeometry(Map geometry);
}