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

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

/**
 * An insertion device, as used in a synchrotron light source.
 * 
 */
public interface NXinsertion_device extends NXobject {

	public static final String NX_TYPE = "type";
	public static final String NX_GAP = "gap";
	public static final String NX_TAPER = "taper";
	public static final String NX_PHASE = "phase";
	public static final String NX_POLES = "poles";
	public static final String NX_MAGNETIC_WAVELENGTH = "magnetic_wavelength";
	public static final String NX_K = "k";
	public static final String NX_LENGTH = "length";
	public static final String NX_POWER = "power";
	public static final String NX_ENERGY = "energy";
	public static final String NX_BANDWIDTH = "bandwidth";
	public static final String NX_HARMONIC = "harmonic";
	/**
	 * 

*

Enumeration:

    *
  • undulator
  • *
  • wiggler

*

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

*

Enumeration:

    *
  • undulator
  • *
  • wiggler

*

* * @param type the type */ public DataNode setType(IDataset type); /** *

*

Enumeration:

    *
  • undulator
  • *
  • wiggler

*

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

*

Enumeration:

    *
  • undulator
  • *
  • wiggler

*

* * @param type the type */ public DataNode setTypeScalar(String type); /** * separation between opposing pairs of magnetic poles *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @return the value. */ public IDataset getGap(); /** * separation between opposing pairs of magnetic poles *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @param gap the gap */ public DataNode setGap(IDataset gap); /** * separation between opposing pairs of magnetic poles *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @return the value. */ public Double getGapScalar(); /** * separation between opposing pairs of magnetic poles *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @param gap the gap */ public DataNode setGapScalar(Double gap); /** * angular of gap difference between upstream and downstream ends of the insertion device *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public IDataset getTaper(); /** * angular of gap difference between upstream and downstream ends of the insertion device *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param taper the taper */ public DataNode setTaper(IDataset taper); /** * angular of gap difference between upstream and downstream ends of the insertion device *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public Double getTaperScalar(); /** * angular of gap difference between upstream and downstream ends of the insertion device *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param taper the taper */ public DataNode setTaperScalar(Double taper); /** *

* Type: NX_FLOAT * Units: NX_ANGLE *

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

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param phase the phase */ public DataNode setPhase(IDataset phase); /** *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @return the value. */ public Double getPhaseScalar(); /** *

* Type: NX_FLOAT * Units: NX_ANGLE *

* * @param phase the phase */ public DataNode setPhaseScalar(Double phase); /** * number of poles *

* Type: NX_INT * Units: NX_UNITLESS *

* * @return the value. */ public IDataset getPoles(); /** * number of poles *

* Type: NX_INT * Units: NX_UNITLESS *

* * @param poles the poles */ public DataNode setPoles(IDataset poles); /** * number of poles *

* Type: NX_INT * Units: NX_UNITLESS *

* * @return the value. */ public Long getPolesScalar(); /** * number of poles *

* Type: NX_INT * Units: NX_UNITLESS *

* * @param poles the poles */ public DataNode setPolesScalar(Long poles); /** *

* Type: NX_FLOAT * Units: NX_WAVELENGTH *

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

* Type: NX_FLOAT * Units: NX_WAVELENGTH *

* * @param magnetic_wavelength the magnetic_wavelength */ public DataNode setMagnetic_wavelength(IDataset magnetic_wavelength); /** *

* Type: NX_FLOAT * Units: NX_WAVELENGTH *

* * @return the value. */ public Double getMagnetic_wavelengthScalar(); /** *

* Type: NX_FLOAT * Units: NX_WAVELENGTH *

* * @param magnetic_wavelength the magnetic_wavelength */ public DataNode setMagnetic_wavelengthScalar(Double magnetic_wavelength); /** * beam displacement parameter *

* Type: NX_FLOAT * Units: NX_DIMENSIONLESS *

* * @return the value. */ public IDataset getK(); /** * beam displacement parameter *

* Type: NX_FLOAT * Units: NX_DIMENSIONLESS *

* * @param k the k */ public DataNode setK(IDataset k); /** * beam displacement parameter *

* Type: NX_FLOAT * Units: NX_DIMENSIONLESS *

* * @return the value. */ public Double getKScalar(); /** * beam displacement parameter *

* Type: NX_FLOAT * Units: NX_DIMENSIONLESS *

* * @param k the k */ public DataNode setKScalar(Double k); /** * length of insertion device *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @return the value. */ public IDataset getLength(); /** * length of insertion device *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @param length the length */ public DataNode setLength(IDataset length); /** * length of insertion device *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @return the value. */ public Double getLengthScalar(); /** * length of insertion device *

* Type: NX_FLOAT * Units: NX_LENGTH *

* * @param length the length */ public DataNode setLengthScalar(Double length); /** * total power delivered by insertion device *

* Type: NX_FLOAT * Units: NX_POWER *

* * @return the value. */ public IDataset getPower(); /** * total power delivered by insertion device *

* Type: NX_FLOAT * Units: NX_POWER *

* * @param power the power */ public DataNode setPower(IDataset power); /** * total power delivered by insertion device *

* Type: NX_FLOAT * Units: NX_POWER *

* * @return the value. */ public Double getPowerScalar(); /** * total power delivered by insertion device *

* Type: NX_FLOAT * Units: NX_POWER *

* * @param power the power */ public DataNode setPowerScalar(Double power); /** * energy of peak intensity in output spectrum *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @return the value. */ public IDataset getEnergy(); /** * energy of peak intensity in output spectrum *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @param energy the energy */ public DataNode setEnergy(IDataset energy); /** * energy of peak intensity in output spectrum *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @return the value. */ public Double getEnergyScalar(); /** * energy of peak intensity in output spectrum *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @param energy the energy */ public DataNode setEnergyScalar(Double energy); /** * bandwidth of peak energy *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @return the value. */ public IDataset getBandwidth(); /** * bandwidth of peak energy *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @param bandwidth the bandwidth */ public DataNode setBandwidth(IDataset bandwidth); /** * bandwidth of peak energy *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @return the value. */ public Double getBandwidthScalar(); /** * bandwidth of peak energy *

* Type: NX_FLOAT * Units: NX_ENERGY *

* * @param bandwidth the bandwidth */ public DataNode setBandwidthScalar(Double bandwidth); /** * harmonic number of peak *

* Type: NX_INT * Units: NX_UNITLESS *

* * @return the value. */ public IDataset getHarmonic(); /** * harmonic number of peak *

* Type: NX_INT * Units: NX_UNITLESS *

* * @param harmonic the harmonic */ public DataNode setHarmonic(IDataset harmonic); /** * harmonic number of peak *

* Type: NX_INT * Units: NX_UNITLESS *

* * @return the value. */ public Long getHarmonicScalar(); /** * harmonic number of peak *

* Type: NX_INT * Units: NX_UNITLESS *

* * @param harmonic the harmonic */ public DataNode setHarmonicScalar(Long harmonic); /** * spectrum of insertion device * * @return the value. */ public NXdata getSpectrum(); /** * spectrum of insertion device * * @param spectrum the spectrum */ public void setSpectrum(NXdata spectrum); /** * "Engineering" position of insertion device * * @return the value. */ public NXgeometry getGeometry(); /** * "Engineering" position of insertion device * * @param geometry the geometry */ public void setGeometry(NXgeometry geometry); /** * Get a NXgeometry node by name: *
    *
  • * "Engineering" position of insertion device
  • *
* * @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 insertion device
  • *
* * @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 insertion device
  • *
* * @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 insertion device
  • *
* * @param geometry the child nodes to add */ public void setAllGeometry(Map geometry); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy