Class InterpolationTfsResult
- java.lang.Object
-
- cern.accsoft.steering.jmad.tools.interpolate.InterpolationTfsResult
-
-
Constructor Summary
Constructors Constructor Description InterpolationTfsResult(java.util.Map<Element,java.util.Map<JMadPlane,java.util.Map<MadxTwissVariable,java.lang.Double>>> valueMapping)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getColumnCount()
java.util.List<java.lang.Double>
getDoubleData(MadxVariable resultVariable)
returns one Column of Data as double-values.java.util.List<java.lang.Double>
getDoubleData(java.lang.String key)
returns one Column of Data ad double-valuesjava.lang.Integer
getElementIndex(java.lang.String elementName)
java.util.List<java.lang.String>
getKeys()
ResultType
getResultType()
java.util.List<java.lang.String>
getStringData(MadxVariable resultVariable)
returns one Column of Data as String-values.java.util.List<java.lang.String>
getStringData(java.lang.String key)
returns the Data-Column for the given Key asArrayList
TfsSummary
getSummary()
MadxVarType
getVarType(MadxVariable var)
returns the type of Data for a given ResultVariableMadxVarType
getVarType(java.lang.String key)
returns the type of Data for the given key
-
-
-
Constructor Detail
-
InterpolationTfsResult
public InterpolationTfsResult(java.util.Map<Element,java.util.Map<JMadPlane,java.util.Map<MadxTwissVariable,java.lang.Double>>> valueMapping)
-
-
Method Detail
-
getResultType
public ResultType getResultType()
- Specified by:
getResultType
in interfaceResult
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceTfsResult
- Returns:
- the amount of data-columns (amount of variables)
-
getSummary
public TfsSummary getSummary()
- Specified by:
getSummary
in interfaceTfsResult
- Returns:
- the summary parameters
-
getDoubleData
public java.util.List<java.lang.Double> getDoubleData(MadxVariable resultVariable)
Description copied from interface:TfsResult
returns one Column of Data as double-values.- Specified by:
getDoubleData
in interfaceTfsResult
- Parameters:
resultVariable
- the ResultVariable for which to get the Data.- Returns:
- the Values
-
getDoubleData
public java.util.List<java.lang.Double> getDoubleData(java.lang.String key)
Description copied from interface:TfsResult
returns one Column of Data ad double-values- Specified by:
getDoubleData
in interfaceTfsResult
- Parameters:
key
- the key for the data- Returns:
- the values
-
getStringData
public java.util.List<java.lang.String> getStringData(MadxVariable resultVariable)
Description copied from interface:TfsResult
returns one Column of Data as String-values.- Specified by:
getStringData
in interfaceTfsResult
- Parameters:
resultVariable
- the ResultVariable for which to get the Data.- Returns:
- the Values
-
getStringData
public java.util.List<java.lang.String> getStringData(java.lang.String key)
Description copied from interface:TfsResult
returns the Data-Column for the given Key asArrayList
- Specified by:
getStringData
in interfaceTfsResult
- Parameters:
key
- the key for which to get the data.- Returns:
- the Double values
-
getKeys
public java.util.List<java.lang.String> getKeys()
-
getElementIndex
public java.lang.Integer getElementIndex(java.lang.String elementName)
- Specified by:
getElementIndex
in interfaceTfsResult
- Parameters:
elementName
- the name of the element for which one wants to retrieve the index.- Returns:
- the index of Element in a list of values.
-
getVarType
public MadxVarType getVarType(java.lang.String key)
Description copied from interface:TfsResult
returns the type of Data for the given key- Specified by:
getVarType
in interfaceTfsResult
- Parameters:
key
- the key for which to get the DataType- Returns:
- the Data-Type
-
getVarType
public MadxVarType getVarType(MadxVariable var)
Description copied from interface:TfsResult
returns the type of Data for a given ResultVariable- Specified by:
getVarType
in interfaceTfsResult
- Parameters:
var
- the ResultVariable- Returns:
- the VarType
-
-