Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Creates an Array from sequence applied on a functionReads ASCII files containing datasets of every kind. Considers multiple forms of notation, separation and direction of data.

Parameters

  • File Path: The absolute path to one file from the sequence, possibly using '#' char to mark the sequence numbers.
    • If at least one block of one or several consecutive # is given, replace the last of such blocks with the sequence numbers using at least as many digits - using leading zeros - as #, e.g.
      • "/path/to/image_00110_#r.txt": ..., "/path/to/image_00110_9r.txt", "/path/to/image_00110_10r.txt", ...
      • "/path/to/image_#####_00001.txt": ..., "/path/to/image_00099_00001.txt", "/path/to/image_00100_00001.txt", ...
      • "/path/to/image_#####_##.txt": ..., "/path/to/image_#####_09.txt", "/path/to/image_#####_10.txt", ..., "/path/to/image_#####_100.txt", ...
    • If no # is given, look for blocks of consecutive digits, starting from the back. First, a block with at least five digits is searched for, then one with at least four, then three, etc. The first block found is replaced - using leading zeros - with the sequence numbers, e.g.
      • "/path/to/image_00110.txt": ..., "/path/to/image_00099.txt", "/path/to/image_00100.txt", ...
      • "/path/to/image_00_10.txt": ..., "/path/to/image_00_99.txt", "/path/to/image_00_100.txt", ...

...