org.eclipse.dawnsci.nexus.NXbending_magnet 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 bending magnet
*
*/
public interface NXbending_magnet extends NXobject {
public static final String NX_CRITICAL_ENERGY = "critical_energy";
public static final String NX_BENDING_RADIUS = "bending_radius";
public static final String NX_MAGNETIC_FIELD = "magnetic_field";
public static final String NX_ACCEPTED_PHOTON_BEAM_DIVERGENCE = "accepted_photon_beam_divergence";
public static final String NX_SOURCE_DISTANCE_X = "source_distance_x";
public static final String NX_SOURCE_DISTANCE_Y = "source_distance_y";
public static final String NX_DIVERGENCE_X_PLUS = "divergence_x_plus";
public static final String NX_DIVERGENCE_X_MINUS = "divergence_x_minus";
public static final String NX_DIVERGENCE_Y_PLUS = "divergence_y_plus";
public static final String NX_DIVERGENCE_Y_MINUS = "divergence_y_minus";
/**
*
* Type: NX_FLOAT
* Units: NX_ENERGY
*
*
* @return the value.
*/
public IDataset getCritical_energy();
/**
*
* Type: NX_FLOAT
* Units: NX_ENERGY
*
*
* @param critical_energy the critical_energy
*/
public DataNode setCritical_energy(IDataset critical_energy);
/**
*
* Type: NX_FLOAT
* Units: NX_ENERGY
*
*
* @return the value.
*/
public Double getCritical_energyScalar();
/**
*
* Type: NX_FLOAT
* Units: NX_ENERGY
*
*
* @param critical_energy the critical_energy
*/
public DataNode setCritical_energyScalar(Double critical_energy);
/**
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getBending_radius();
/**
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param bending_radius the bending_radius
*/
public DataNode setBending_radius(IDataset bending_radius);
/**
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getBending_radiusScalar();
/**
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param bending_radius the bending_radius
*/
public DataNode setBending_radiusScalar(Double bending_radius);
/**
* strength of magnetic field of dipole magnets
*
* Type: NX_FLOAT
* Units: NX_CURRENT
*
*
* @return the value.
*/
public IDataset getMagnetic_field();
/**
* strength of magnetic field of dipole magnets
*
* Type: NX_FLOAT
* Units: NX_CURRENT
*
*
* @param magnetic_field the magnetic_field
*/
public DataNode setMagnetic_field(IDataset magnetic_field);
/**
* strength of magnetic field of dipole magnets
*
* Type: NX_FLOAT
* Units: NX_CURRENT
*
*
* @return the value.
*/
public Double getMagnetic_fieldScalar();
/**
* strength of magnetic field of dipole magnets
*
* Type: NX_FLOAT
* Units: NX_CURRENT
*
*
* @param magnetic_field the magnetic_field
*/
public DataNode setMagnetic_fieldScalar(Double magnetic_field);
/**
* An array of four numbers giving X+, X-, Y+ and Y- half divergence
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getAccepted_photon_beam_divergence();
/**
* An array of four numbers giving X+, X-, Y+ and Y- half divergence
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param accepted_photon_beam_divergence the accepted_photon_beam_divergence
*/
public DataNode setAccepted_photon_beam_divergence(IDataset accepted_photon_beam_divergence);
/**
* An array of four numbers giving X+, X-, Y+ and Y- half divergence
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getAccepted_photon_beam_divergenceScalar();
/**
* An array of four numbers giving X+, X-, Y+ and Y- half divergence
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param accepted_photon_beam_divergence the accepted_photon_beam_divergence
*/
public DataNode setAccepted_photon_beam_divergenceScalar(Double accepted_photon_beam_divergence);
/**
* Distance of source point from particle beam waist in X (horizontal) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getSource_distance_x();
/**
* Distance of source point from particle beam waist in X (horizontal) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param source_distance_x the source_distance_x
*/
public DataNode setSource_distance_x(IDataset source_distance_x);
/**
* Distance of source point from particle beam waist in X (horizontal) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getSource_distance_xScalar();
/**
* Distance of source point from particle beam waist in X (horizontal) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param source_distance_x the source_distance_x
*/
public DataNode setSource_distance_xScalar(Double source_distance_x);
/**
* Distance of source point from particle beam waist in Y (vertical) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public IDataset getSource_distance_y();
/**
* Distance of source point from particle beam waist in Y (vertical) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param source_distance_y the source_distance_y
*/
public DataNode setSource_distance_y(IDataset source_distance_y);
/**
* Distance of source point from particle beam waist in Y (vertical) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @return the value.
*/
public Double getSource_distance_yScalar();
/**
* Distance of source point from particle beam waist in Y (vertical) direction.
*
* Type: NX_FLOAT
* Units: NX_LENGTH
*
*
* @param source_distance_y the source_distance_y
*/
public DataNode setSource_distance_yScalar(Double source_distance_y);
/**
* Accepted photon beam divergence in X+ (horizontal outboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public IDataset getDivergence_x_plus();
/**
* Accepted photon beam divergence in X+ (horizontal outboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_x_plus the divergence_x_plus
*/
public DataNode setDivergence_x_plus(IDataset divergence_x_plus);
/**
* Accepted photon beam divergence in X+ (horizontal outboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public Double getDivergence_x_plusScalar();
/**
* Accepted photon beam divergence in X+ (horizontal outboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_x_plus the divergence_x_plus
*/
public DataNode setDivergence_x_plusScalar(Double divergence_x_plus);
/**
* Accepted photon beam divergence in X- (horizontal inboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public IDataset getDivergence_x_minus();
/**
* Accepted photon beam divergence in X- (horizontal inboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_x_minus the divergence_x_minus
*/
public DataNode setDivergence_x_minus(IDataset divergence_x_minus);
/**
* Accepted photon beam divergence in X- (horizontal inboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public Double getDivergence_x_minusScalar();
/**
* Accepted photon beam divergence in X- (horizontal inboard) direction.
* Note that divergence_x_plus+divergence_x_minus is the total horizontal beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_x_minus the divergence_x_minus
*/
public DataNode setDivergence_x_minusScalar(Double divergence_x_minus);
/**
* Accepted photon beam divergence in Y+ (vertical upward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public IDataset getDivergence_y_plus();
/**
* Accepted photon beam divergence in Y+ (vertical upward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_y_plus the divergence_y_plus
*/
public DataNode setDivergence_y_plus(IDataset divergence_y_plus);
/**
* Accepted photon beam divergence in Y+ (vertical upward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public Double getDivergence_y_plusScalar();
/**
* Accepted photon beam divergence in Y+ (vertical upward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_y_plus the divergence_y_plus
*/
public DataNode setDivergence_y_plusScalar(Double divergence_y_plus);
/**
* Accepted photon beam divergence in Y- (vertical downward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public IDataset getDivergence_y_minus();
/**
* Accepted photon beam divergence in Y- (vertical downward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_y_minus the divergence_y_minus
*/
public DataNode setDivergence_y_minus(IDataset divergence_y_minus);
/**
* Accepted photon beam divergence in Y- (vertical downward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @return the value.
*/
public Double getDivergence_y_minusScalar();
/**
* Accepted photon beam divergence in Y- (vertical downward) direction.
* Note that divergence_y_plus+divergence_y_minus is the total vertical beam divergence.
*
* Type: NX_FLOAT
* Units: NX_ANGLE
*
*
* @param divergence_y_minus the divergence_y_minus
*/
public DataNode setDivergence_y_minusScalar(Double divergence_y_minus);
/**
* bending magnet spectrum
*
* @return the value.
*/
public NXdata getSpectrum();
/**
* bending magnet spectrum
*
* @param spectrum the spectrum
*/
public void setSpectrum(NXdata spectrum);
/**
* "Engineering" position of bending magnet
*
* @return the value.
*/
public NXgeometry getGeometry();
/**
* "Engineering" position of bending magnet
*
* @param geometry the geometry
*/
public void setGeometry(NXgeometry geometry);
/**
* Get a NXgeometry node by name:
*
* -
* "Engineering" position of bending magnet
*
*
* @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:
*
* -
* "Engineering" position of bending magnet
*
*
* @param name the name of the node
* @param geometry the value to set
*/
public void setGeometry(String name, NXgeometry geometry);
/**
* Get all NXgeometry nodes:
*
* -
* "Engineering" position of bending magnet
*
*
* @return a map from node names to the NXgeometry for that node.
*/
public Map getAllGeometry();
/**
* Set multiple child nodes of a particular type.
*
* -
* "Engineering" position of bending magnet
*
*
* @param geometry the child nodes to add
*/
public void setAllGeometry(Map geometry);
}