def register_ascii_series_io(array_type, format='<STR_LIT>', identify=True,<EOL>**defaults):
def _read(filepath, **kwargs):<EOL><INDENT>kwgs = defaults.copy()<EOL>kwgs.update(kwargs)<EOL>return read_ascii_series(filepath, array_type=array_type, **kwgs)<EOL><DEDENT>def _write(series, output, **kwargs):<EOL><INDENT>kwgs = defaults.copy()<EOL>kwgs.update(kwargs)<EOL>return write_ascii_series(series, output, **kwgs)<EOL><DEDENT>io_registry.register_reader(format, array_type, _read)<EOL>io_registry.register_writer(format, array_type, _write)<EOL>if identify:<EOL><INDENT>io_registry.register_identifier(format, array_type,<EOL>identify_factory(format))<EOL><DEDENT>
Register ASCII read/write/identify methods for the given array