File: ndio.rst

package info (click to toggle)
python-astropy 1.3-8~bpo8%2B2
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 44,292 kB
  • sloc: ansic: 160,360; python: 137,322; sh: 11,493; lex: 7,638; yacc: 4,956; xml: 1,796; makefile: 474; cpp: 364
file content (13 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
.. _nddata_io:

I/O mixin
=========

The I/O mixin, `~astropy.nddata.NDIOMixin`, adds ``read`` and ``write``
methods that us the astropy I/O registry.

The mixin itself simply creates the read/write methods; it does not register
any readers or writers with the I/O registry. Subclasses of
`~astropy.nddata.NDDataBase` or `~astropy.nddata.NDData` need to include this
mixin, implement a reader and writer, *and* register it with the I/O
framework. See :ref:`io_registry` for details.