| 1 |
# Copyright (c) 2016, Science and Technology Facilities Council |
| 2 |
# This software is distributed under a BSD licence. See LICENSE.txt. |
| 3 |
""" |
| 4 |
constants |
| 5 |
--------- |
| 6 |
|
| 7 |
Constants used by the ``mrcfile.py`` library. |
| 8 |
|
| 9 |
""" |
| 10 |
|
| 11 |
# Import Python 3 features for future-proofing |
| 12 |
from __future__ import (absolute_import, division, print_function, |
| 13 |
unicode_literals) |
| 14 |
|
| 15 |
MAP_ID = b'MAP ' |
| 16 |
MAP_ID_OFFSET_BYTES = 208 # location of 'MAP ' string in an MRC file |
| 17 |
|
| 18 |
IMAGE_STACK_SPACEGROUP = 0 |
| 19 |
VOLUME_SPACEGROUP = 1 |
| 20 |
VOLUME_STACK_SPACEGROUP = 401 |