PSR
CHIVE
Ask a Question
Search
PSR
CHIVE:
powered by
FreeFind
Home
Install
Use
Develop
Support
News
Credits
hosted by
Base
Formats
Timer
mini.h
1
/***************************************************************************
2
*
3
* Copyright (C) 1999 by Willem van Straten
4
* Licensed under the Academic Free License version 2.1
5
*
6
***************************************************************************/
7
// psrchive/Base/Formats/Timer/mini.h
8
9
/* include file for mini header */
10
11
/* This has to be compatable with fortran when written as binary to a file.
12
It is *****ABSOLUTELY VITAL***** that eight byte boundaries are not crossed
13
All characters should have a length equal to a multiple of 8
14
In any section of the structure (between character or real*8 declarations)
15
there must be an even number of reals and integers */
16
17
/* If you cant do this with actual variables put in pads (eg pad1 below)
18
Space is declared at the end to fill up to 128 bytes. */
19
20
/* If you declare new variables you should subtract the appropriate no of bytes
21
real = 4, integer = 4, real*8 = 8 etc on 32 bit architecture */
22
23
/* Dont forget to alter version numbers here and in all programs using this
24
there is a list in header.uses */
25
26
/* Version 0.99 MXB JFB 08-MAR-1994 */
27
/* Version 1.00 JFB 16-MAR-1994 space added to fill to 128 bytes */
28
/* Version 1.10 WvS 23-SEP-1999 added an integration time so sub_ints
29
can have different times */
30
31
#ifndef __MINI_H
32
#define __MINI_H
33
34
struct
mini{
35
int
junk;
36
int
junk2;
37
int
junk3;
38
int
mjd;
/* integer part of mjd */
39
double
fracmjd;
/* fractional part of mjd */
40
double
lst_start;
/* (G) lst in seconds */
41
double
pfold;
/* (G) period in seconds */
42
float
tel_zen;
/* (G) Zenith in degrees */
43
float
tel_az;
/* (G) Az in degrees */
44
float
feed_ang;
/* (G) Feed angle in degrees */
45
float
para_angle;
/* (G) Parallactic Angle in degrees */
46
float
version;
47
float
pulse_phase;
/* expected pulse arrival phase */
48
float
flux_A;
/* flux in poln 0 */
49
float
flux_B;
/* flux in poln 1 */
50
double
integration;
/* time integrated, in seconds */
51
char
space[48];
52
};
53
54
#endif
Generated using
doxygen
1.8.17