Package ltsa
Class LtsaModuleHeader
java.lang.Object
binaryFileStorage.ModuleHeader
ltsa.LtsaModuleHeader
- All Implemented Interfaces:
Serializable
,ManagedParameters
- See Also:
-
Constructor Summary
ConstructorDescriptionLtsaModuleHeader
(int version, int fftLength, int ffthop, int intervalSeconds) -
Method Summary
Modifier and TypeMethodDescriptionboolean
createHeader
(BinaryObjectData binaryObjectData, BinaryHeader binaryHeader) Read data from a byte array to recreate a module header being read back from file.Get a set of data that describes all of the parameters in a classMethods inherited from class binaryFileStorage.ModuleHeader
getModuleVersion
-
Constructor Details
-
LtsaModuleHeader
public LtsaModuleHeader(int version, int fftLength, int ffthop, int intervalSeconds) - Parameters:
fftLength
-ffthop
-intervalSeconds
-
-
-
Method Details
-
createHeader
Description copied from class:ModuleHeader
Read data from a byte array to recreate a module header being read back from file.The BinaryHeader and ModuleHeader can be used to check version numbers if required.
- Specified by:
createHeader
in classModuleHeader
- Parameters:
binaryObjectData
- data read from filebinaryHeader
- binary Header from data file- Returns:
- true if unpacked successfully.
-
getParameterSet
Description copied from interface:ManagedParameters
Get a set of data that describes all of the parameters in a class- Specified by:
getParameterSet
in interfaceManagedParameters
- Returns:
- description of the parameters in a class.
-