casa
5.7.0-16
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
casa
casacore
mirlib
hio.h
Go to the documentation of this file.
1
#if !defined(MIR_HIO_H)
2
#define MIR_HIO_H
3
4
#include "
sysdep.h
"
5
6
/*
7
* magic numbers at the start of an item, these are like BITPIX in fits,
8
* so don't change them or your MIRIAD files won't be exchangeable between
9
* other MIRIAD implementations
10
* MAXTYPES is pretty arbitrary, just make sure it's at least the last H_<type>+1
11
*
12
*/
13
14
#define H_BYTE 1
15
#define H_INT 2
16
#define H_INT2 3
17
#define H_REAL 4
18
#define H_DBLE 5
19
#define H_TXT 6
20
#define H_CMPLX 7
21
#define H_INT8 8
22
23
#define MAXTYPES 10
24
25
#define H_BYTE_SIZE 1
26
#define H_INT_SIZE 4
27
#define H_INT2_SIZE 2
28
#define H_INT8_SIZE 8
29
#define H_REAL_SIZE 4
30
#define H_DBLE_SIZE 8
31
#define H_TXT_SIZE 1
32
#define H_CMPLX_SIZE 8
33
34
#define MAXPATH 256
35
#define MAXOPEN 26
36
37
38
/* prototypes are now in miriad.h (mostly) and sysdep.h (pack routines) */
39
40
/* Other handy definitions. */
41
42
#define TRUE 1
43
#define FALSE 0
44
#define max(a,b) ((a)>(b)?(a):(b))
45
#define min(a,b) ((a)<(b)?(a):(b))
46
#define mroundup(a,b) ((b)*(((a)+(b)-1)/(b)))
47
48
#endif
/* MIR_HIO_H */
sysdep.h
Generated on Sun Sep 1 2019 23:32:17 for casa by
1.8.5