Package org.anchoranalysis.mpp.io.output
Class EnergyStackWriter
Object
org.anchoranalysis.mpp.io.output.EnergyStackWriter
public class EnergyStackWriter extends Object
Writes an energy-stack to the file-system.
The following outputs are produced:
| Output Name | Default? | Description |
|---|---|---|
| "energyStack" | no | Each channel of the energy-stack as a separate image. |
| "energyStackDictionary" | no | XML serialization of the key-value parameters associated with the energy stack. |
- Author:
- Owen Feehan
-
Field Summary
Fields Modifier and Type Field Description static StringOUTPUT_ENERGY_STACK_DIRECTORYThe output name for the directory containing energy stack channels. -
Constructor Summary
Constructors Constructor Description EnergyStackWriter(EnergyStack energyStack, org.anchoranalysis.io.output.outputter.Outputter outputter) -
Method Summary
Modifier and Type Method Description voidwriteEnergyStack()Writes the energy stack to output.
-
Field Details
-
OUTPUT_ENERGY_STACK_DIRECTORY
The output name for the directory containing energy stack channels.- See Also:
- Constant Field Values
-
-
Constructor Details
-
EnergyStackWriter
public EnergyStackWriter(EnergyStack energyStack, org.anchoranalysis.io.output.outputter.Outputter outputter)
-
-
Method Details
-
writeEnergyStack
public void writeEnergyStack() throws org.anchoranalysis.io.output.error.OutputWriteFailedExceptionWrites the energy stack to output.- Throws:
org.anchoranalysis.io.output.error.OutputWriteFailedException- if the writing process fails
-