public abstract class SpecificEnergyChannelBase extends FeatureSingleObject
Constructor and Description |
---|
SpecificEnergyChannelBase() |
Modifier and Type | Method and Description |
---|---|
double |
calculate(FeatureCalculationInput<FeatureInputSingleObject> input)
Calculates a value for some input.
|
protected abstract double |
calculateWithChannel(ObjectMask object,
Channel channel) |
int |
getEnergyIndex()
Index of which channel in the energy-stack to select
|
void |
setEnergyIndex(int energyIndex)
Index of which channel in the energy-stack to select
|
inputType
assignTo, beforeCalc, calculateCheckInitialized, castAs, createListChildFeatures, describeBean, describeParameters, descriptionLong, duplicateChangeName, getCustomName, getFriendlyName, onInitialization, setCustomName, toString
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized
checkMisconfigured, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise
public double calculate(FeatureCalculationInput<FeatureInputSingleObject> input) throws FeatureCalculationException
Feature
calculate
in class Feature<FeatureInputSingleObject>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot successfully complete.protected abstract double calculateWithChannel(ObjectMask object, Channel channel) throws FeatureCalculationException
FeatureCalculationException
public int getEnergyIndex()
public void setEnergyIndex(int energyIndex)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.