Go to the source code of this file.
| separate_0_2 | ( | filename, | ||
| flags | ||||
| ) |
separate_0_2(filename[,flags])
Separates dynamic file into individual files
parameters:
basename basename of dynamic file
flags structure with optional parameter fields:
flags.overwrite if exists and value is 1, existing frame files will be overwritten without asking
returns:
return state of program: 0 == success, -1 == failure, -2 == interrupted (cancel at overwrite)
pre condition: Dynamic file for separation is in
Analyze7.5 format. File should have at least same
number of frame in data that is declared in its
header.
post condition: frame filenames are in Analyze7.5 format
and have suffixes '_1','_2','_3' etc. starting from '_1'.
Base filename before suffix is same for all frame filenames.
version: 0.1,Harri Merisaari
version: 0.11,16-03-2005, Harri Merisaari, added overwrite-without-asking flag
version: 0.2,22-03-2005, Harri Merisaari, return state codes added
Copyright (c) 2005 by Turku PET Centre
| filename | ||
| flags |
Here is the call graph for this function:

1.5.2