Default Parsing Behavior#

This file defines the default behaviors of the parser at runtime.

astroparse.defaults.sep_reg: str = '(?<=\\S)( |\\t)+(?!\\s)'#

Regular expression that matches spaces or tabs as separators in input file.

astroparse.defaults.nan_reg: str = 'nan'#

Regular expression that matches NaN entries in input file.

astroparse.defaults.MAX_LINE: int = 1000000#

Maximum number of lines that will be read from the input file.

In addition to these constants, the following behaviors are also assumed:

hdr = -1: The input file does not have a header line that shares identical column format to the data lines.

lo = 1: The data lines begin on the first line of the file.

hi = -1: The data lines continue until the last line of the file.