Class: AFNIFormat
Defined in: src/io/formats.ts:131
AFNI file format descriptor.
Extends
Constructors
Constructor
new AFNIFormat(): AFNIFormat;Defined in: src/io/formats.ts:132
Returns
AFNIFormat
Overrides
Properties
fileFormat
readonly fileFormat: string;Defined in: src/io/formats.ts:9
Inherited from
headerEncoding
readonly headerEncoding: string;Defined in: src/io/formats.ts:10
Inherited from
headerExtension
readonly headerExtension: string;Defined in: src/io/formats.ts:11
Inherited from
dataEncoding
readonly dataEncoding: string;Defined in: src/io/formats.ts:12
Inherited from
dataExtension
readonly dataExtension: string;Defined in: src/io/formats.ts:13
Inherited from
Methods
headerFileMatches()
headerFileMatches(fileName): boolean;Defined in: src/io/formats.ts:37
Check if file name matches header format.
Parameters
fileName
string
Returns
boolean
Inherited from
dataFileMatches()
dataFileMatches(fileName): boolean;Defined in: src/io/formats.ts:44
Check if file name matches data format.
Parameters
fileName
string
Returns
boolean
Inherited from
stripExtension()
stripExtension(fileName): string;Defined in: src/io/formats.ts:51
Strip extension from filename.
Parameters
fileName
string
Returns
string
Inherited from
getHeaderFile()
getHeaderFile(baseName): string;Defined in: src/io/formats.ts:59
Get header filename from base name.
Parameters
baseName
string
Returns
string
Inherited from
getDataFile()
getDataFile(baseName): string;Defined in: src/io/formats.ts:66
Get data filename from base name.
Parameters
baseName
string
Returns
string
Inherited from
fileMatches()
fileMatches(fileName): Promise<boolean>;Defined in: src/io/formats.ts:136
Check if a file matches this format and both header/data files exist.
Parameters
fileName
string
Returns
Promise<boolean>