This class represents homogeneous datasets in an HDF5 file. The difference between a CArray and a normal Array (see :ref:`ArrayClassDescr`), from which it inherits, is that a CArray has a chunked layout and, as a consequence, it supports compression. You can use datasets of this cla
| 23 | |
| 24 | |
| 25 | class CArray(Array): |
| 26 | """This class represents homogeneous datasets in an HDF5 file. |
| 27 | |
| 28 | The difference between a CArray and a normal Array (see |
| 29 | :ref:`ArrayClassDescr`), from which it inherits, is that a CArray |
| 30 | has a chunked layout and, as a consequence, it supports compression. |
| 31 | You can use datasets of this class to easily save or load arrays to |
| 32 | or from disk, with compression support included. |
| 33 | |
| 34 | CArray includes all the instance variables and methods of Array. |
| 35 | Only those with different behavior are mentioned here. |
| 36 | |
| 37 | Parameters |
| 38 | ---------- |
| 39 | parentnode |
| 40 | The parent :class:`Group` object. |
| 41 | |
| 42 | .. versionchanged:: 3.0 |
| 43 | Renamed from *parentNode* to *parentnode*. |
| 44 | |
| 45 | name : str |
| 46 | The name of this node in its parent group. |
| 47 | atom |
| 48 | An `Atom` instance representing the *type* and *shape* of |
| 49 | the atomic objects to be saved. |
| 50 | |
| 51 | shape |
| 52 | The shape of the new array. |
| 53 | |
| 54 | title |
| 55 | A description for this node (it sets the ``TITLE`` HDF5 |
| 56 | attribute on disk). |
| 57 | |
| 58 | filters |
| 59 | An instance of the `Filters` class that provides |
| 60 | information about the desired I/O filters to be applied |
| 61 | during the life of this object. |
| 62 | |
| 63 | chunkshape |
| 64 | The shape of the data chunk to be read or written in a |
| 65 | single HDF5 I/O operation. Filters are applied to those |
| 66 | chunks of data. The dimensionality of `chunkshape` must |
| 67 | be the same as that of `shape`. If ``None``, a sensible |
| 68 | value is calculated (which is recommended). |
| 69 | |
| 70 | byteorder |
| 71 | The byteorder of the data *on disk*, specified as 'little' |
| 72 | or 'big'. If this is not specified, the byteorder is that |
| 73 | of the platform. |
| 74 | |
| 75 | track_times |
| 76 | Whether time data associated with the leaf are recorded (object |
| 77 | access time, raw data modification time, metadata change time, object |
| 78 | birth time); default True. Semantics of these times depend on their |
| 79 | implementation in the HDF5 library: refer to documentation of the |
| 80 | H5O_info_t data structure. As of HDF5 1.8.15, only ctime (metadata |
| 81 | change time) is implemented. |
| 82 |
no outgoing calls
no test coverage detected