86
BASE NO. I VOL. I REISSUE SERIES 'IN- (L) -HU-033 / 003/ 00 (TM Series) .. This document was produced by SDC in performance of contract NAS 8- 25 4 7 1 SYSTEM EXPERIMENT SIMULATION DEVELOPMENT CORPORATION 2109 CLINTON AVE. WEST H U NTSVlLLE ALABAMA 35805 SOFTWARE (FPE 5.1) March 15, 1971 ' A.3085 (6/69)

(TM Series) - NASA

  • Upload
    others

  • View
    9

  • Download
    0

Embed Size (px)

Citation preview

Page 1: (TM Series) - NASA

BASE NO. I VOL. I R E I S S U E SERIES

'IN- (L) -HU-033 / 003/ 00

(TM Series)

.. This document was produced by SDC in performance of contract NAS 8- 25 4 7 1

SYSTEM

EXPERIMENT SIMULATION DEVELOPMENT

CORPORATION

2109 CLINTON AVE. WEST

H U NTSVl LL E

ALABAMA

35805

SOFTWARE (FPE 5.1)

March 15, 1971 '

A.3085 (6/69)

Page 2: (TM Series) - NASA

March 15, 1971. System Development Corporation

TM-(L)-HU-033/003/00

ABSTRACT

This document descr ibes t h e sof tware requi red t o automate the a c q u i s i t i o n ,

ana lys i s and d i sp lay of t h e prime d a t a f o r t he X-ray Polar imeter Experiment

(FPE 5.1). In add i t ion , sof tware t o genera te s imulated input t o test t h e

experiment sof tware is descr ibed. This work w a s performed under con t r ac t

number NAS8-25471 f o r t h e Computation Laboratory of t h e George C. Marshall

Space F l i g h t Center , Huntsv i l le , Alabama.

Page 3: (TM Series) - NASA

March 15, 1971 i System Development Corporation

TM-(L) -HU-033/003/00

TABLE OF CONTENTS

Page

SECTION 1. INTRODUCTION . . e . . e . . . . . . . . . . . . . 1-1

1.1 Use of E x i s t i n g Software . . . a . . a . e e e . . . . 1-1

1.2 Descr ip t ion of Experiment * . . . . e e . e e . . e . 1-2

SECTION 2. X-RAY POLARIMETER EXPERIMENT PROGRAM 0 e . a e e . e e 2-1

2.1 Input Parameters e . . e . e . . e e e . . e 2-1

2.2 ProgramFlow e . . . . . e . . e . e . e e . e . 2-2

2 .3 Subrout ines . . . . . . . . . e . e . e e . e e 2-2

2.4 Sample Input . . . e . e . e a . e 2-21

2.5 Sample Output . e . e e e . e e e 2-22

2.6 Program L i s t i n g . . . . e e e . . e . a . e e e . 2-39

SECTION 3. DATA GENERATION PROGRAM e s o o o o e o s e o o 0 0 e 3-1

3.1 I n p u t e - . . . e e e ,, e e e e e e e a e e a 3-1

3.2 P r o g r a m F I . 0 ~ . . e . e e e . . e e e e e 3-1

3.3 Subrout ines e . . e a e e e ., * . . 3-1

3.4 Sample Inpu t . . . e e e e e e ,, 3-10

3.5 Sample Output . . . . . e . a . . . e e e . e . e 3-12

3.6 Program L i s t i n g . . . . . . . . . . . . . e . e e . e 3-17

SECTION4. SUMMARY . . . . . . . . . . . . 0 . . e . . 0 . . e . e e 4-1

Page 4: (TM Series) - NASA

March 15, 1971 ii System Development Corporation

TM-(L)-HU-033/003/00

LIST OF FIGURES

Figure 2-1. Figure 2-2. Figure 2-3. Figure 2-4. Figure 2-5. Figure 2-6. Figure 2-7. Figure 2-8. Figure 2-9. Figure 2-10. Figure 2-11. Figure 2-12. Figure 2-13. Figure 2-14. Figure 2-15. Figure 2-16.

Figure 2-17, Figure 2-18. Figure 2-19. Figure 2-20. Figure 2-21. Figure 2-22. Figure 2-23. Figure 3-1.

Figure 3-2. Figure 3-3. Figure 3-4.

Figure 3-5*

Figure 3-6. Figure 3-7. Figure 3-8. Figure 3-9.

General Flow for Simulated Experiment . . e . . . . . . . Subroutine PULDAQ . . . e . . e . . . . . . . e . . Subroutine PULDAN . . . . . . . . . . . . . . Subroutine POLDAQ . . . e . . . e e . . . . e . . Subroutine POLDDP . . . . . . a . . e a . . a a . a

Sample Experiment Program Input . . . e a . a

Power Spectrum of Pulsar Data - Source l e . e

Cummulative Totals of Polarimeter Data Counts - Source 1. Powe: Spectrum of Pulsar Data - Source 2 . . . e

Cumulative Totals of Polarimeter Data Counts - Source 2. Power Spectrum of Pulsar Data - Source 3 . e . Cummulative Totals of Polarimeter Data Counts - Source 3. Intensity Level 4 , Polarimeter Data Counts - Source 3 . . Intensity Level 5 , Polarimeter Data Counts - Source 3 Intensity Level 6, Polarimeter Data Counts - Source 3 e

Intensity Level 7, Polarimeter Data Counts - Source 3 e

Intensity Level 8, Polarimeter Data Counts - Source 3 . e

Power Spectrum of Pulsar Data - Source 4 . . . . . . e e

Cumulative Totals of Polarimeter Data Counts - Source 4. Observation Summary - Source 1 . e . - ; . e . Observation Summary - Source 2 a e e

Observation Summary - Source 3 . ., - e . . e e

Observation Summary - Source 4 - e e e ., Routine DRIVER . . e e . e . . . . e e - e . e . . Subroutine OVRFLO e . e e . e . . . e . . . e . . e . . Subroutine PULSAR . e e . e e e . . . e . . . . . . . . Subroutine PULOUT . . . . . e . . ., . . e e . e e . Sample Data Generator Program Input e . . ' . e e e e

Pulsar Data - Source 1 e . e e . a e . e . a e e e

Polarimeter Data - Source 1 e . e . . . . e e . . . . Pulsar Data - Source 3 . . e e e . a e '. e e e e e

Polarimeter Data - Source 3 . e e e . . e . . . .

Page

2-3 2-8 2-11 2-17 2-19 2-21 2-22

2-23 2-24 2-25 2-26 2-27 2-28

2-29 2-30 2-31

2-32 2-33 2-34 2-35 2-36 2-37 2-38 3-2 3-5 3-7 3-9 3-10 3-12 3-13 3-14 3-15

Page 5: (TM Series) - NASA

March 15, 1971 1- 1 System Development Corporation

TM- (L ) -HU- 03 3 / 003 / 00

SECTION 1. INTRODUCTION

This r epor t is one of two produced during the ex tens ion of NASA s tudy con t r ac t

NAS8-25471, "Analyses of t h e Requirements f o r Computer Control and Data

Processing Experiment Subsystems."

T11-(L)-HU-033/004/00 e n t i t l e d "Experiment Support Software Techniques Analysis

(FPE 5.3A)," desc r ibes t h e software techniques app l i cab le t o Space S t a t i o n

experiment FPE 5.3A - Sola r Imaging X-ray Telescope.

prepared by t h e System Development Corporation's Huntsv i l le Space P r o j e c t s

s t a f f .

A second r e p o r t , SDC document

Both r e p o r t s were

This r e p o r t describes and documents t he software requi red t o analyze t h e

primary da ta of t h e X-ray Polar imeter Experiment (FPE 5.1).

were presented i n SDC document TM-(L)-HU-O33/001/00, dated October 15, 1970.

A d e s c r i p t i o n of t h e experiment procedure and hardware i s contained i n SDC

document TM-(L)-HU-O33/000/00, da ted May 15, 1970.

Software s p e c i f i c a t i o n s

This r e p o r t is presented i n two p a r t s :

1) X-ray Polar imeter Experiment Program

2) Data Generation Program

1.1 Use of Ex i s t ing Software

A l l programs were coded i n FORTRAN I V and were t e s t e d and run on t h e MSFC

IBM 7094 computer,

including:

Where p o s s i b l e , use w a s made of e x i s t i n g l i b r a r y rou t ines

QUIK3V - SC-4020 p l o t r o u t i n e

B I T - Logical b i t t e s t i n g func t ion

CTOBCD - Convert t o b inary r o u t i n e

B I N - AND/OR r o u t i n e

LA6RN6 - Lagrangian i n t e r p o l a t i o n r o u t i n e

EVAL - Power spectrum r o u t i n e

HARM - Harmonic a n a l y s i s (FF") r o u t i n e

Page 6: (TM Series) - NASA

March 15, 1971 1-2 System Development Corporation

TM- (L)-HU-033/003/00

LSF - B i t manipulation r o u t i n e

FLD - B i t t r a n s f e r r o u t i n e

RANDOM - Random number genera tor

PDUMP - P a r t i a l core dump \

Subroutines EVAL, HARM and ESF are not s tandard l i b r a r y rou t ines b u t were made

a v a i l a b l e by the MSFC Computation Laboratory personnel. Brief d e s c r i p t i o n s

of t hese t h r e e rou t ines are included he re in . Descr ip t ions of o t h e r l i b r a r y

rou t ines may be found i n t h e MSFC TBM 7094 Prel iminary Reference Manual.

1 . 2 Descr ip t ion of Experiment

The X-ray polar imeter experiment hardware c o n s i s t s of the o p t i c s and i n s t r u -

mentation necessary t o determine t h e degree of p o l a r i z a t i o n of X-ray celestial

sources.

incidence X-ray te lescope . Data i s c o l l e c t e d i n e l e c t r o n i c format and i s

processed i n real t i m e on board t h e Space S ta t ion . Two types of d a t a are

considered--polarimeter and pu l sa r . Polar imeter d a t a is analyzed t o determine

t h e degree of p o l a r i z a t i o n and t h e i n t e n s i t y of t he X-ray source.

d a t a i s analyzed t o determine i f an X-ray source is a p u l s a r , and i f so, t h e

frequency of p u l s a t i o n is ca l cu la t ed .

g raphic and t a b u l a r format.

see SDC document TM-(L)-HU-O33/000/00.)

The polar imeter is loca ted a t t h e f o c a l p o i n t of a l a r g e graz ing

Pulsar

Analyzed d a t a is presented i n both

(For a more d e t a i l e d explana t ion of t h e experiment,

The software descr ibed i n Sec t ion 2 i s l i m i t e d t o t h a t requi red f o r a c q u i s i t i o n ,

a n a l y s i s and d i sp lay of primary data . Sec t ion 3 desc r ibes t h e sof tware t o

s imula te t h e output of t h e polar imeter experiment.

as i npu t t o the experiment program.

This s imulated d a t a se rves

Page 7: (TM Series) - NASA

March 15, 1971 2-1 System Development Corporation

TM- (L ) -HU-0 3 3 / 00 3 / 00

SECTION 2. X-RAY POLARIMETER EXPERIMENT PROGRAM

The X-ray Polarimeter Experiment Program acquires, analyzes and displays the primary data from the X-ray polarimeter and pulsar mode counter.

2.1 Input Parameters

Experiment control parameters input by cards in NAMELIST format are:

NS - Number of Sources NP - plot Flag (1 = Plot all Levels of Intensity

0 = Plot Cumulative Qnly) ID - Source Identification RAHR - Right Ascension (Hours) RAMIN - Right Ascension (Minutes) DDEG - Declination (Degrees) DMIN - Declination (Minutes) OBSTIM - Observation Time BTP ETP

TSS - Table Step Size (Degrees)

- Beginning Table Position (Degrees) - Ending Table Position (Degrees)

Simulated polarimeter data is input from tape (channel A5) in the following format :

I I \ Table position l Data Counts

Beam Counts

Table position 2

I I Beam Counts I

\ Table position n

J Beam Counts

t

Page 8: (TM Series) - NASA

System Development Corporation March 15, 1971

Simulated pulsar data is follows :

Word 1

2

2-2

input from tape (channel A6)

I1 I 0010110 e . .

TM- (L ) -HU- 0 33 /00 3 / 00

in bit string format as

1st second of observation +I

2 11 i ) 2nd second of observation 4

Pulsar data is in blocks of 1008 bits--where observation. The data is packed so that the thirty-six bit words. The least significant

1 bit represents l millisecond of entire block is stored in 28 8 bits of the 28th word are not used.

2,2 Program Flow

Figure 2-1. presents the general flow of the X-ray polarimeter experiment program.

2.3 Subroutines

CAMRAV - INIT - PULDAQ - PULDAN - PULDDI - POLDAQ - POLDDP - SeTMUlp - CLEAN -

Open SC-4020 file Initialize experiment parameters Pulsar data acquisition Pulsar data analysis Pulsar data display Polarimeter data acquisition Polarimeter data display Experiment summary Close SC-4020 file

Page 9: (TM Series) - NASA

March 1 5 , 1971

I n i t i a l i z e

(3

I n i t i a l i z e able pos i t io oops source

pulsar data

System Development Corporation 2-3 TM- (L)-HU-033/003/00

Pulsar Data

Display

Figure 2-1. General Flow for Simulated Experiment

Page 10: (TM Series) - NASA

March 15, 1971 2-4 System Development Corporation

TM-(L)-HU-033/003/00

CAMRAV and CLEAN are part of the SC-4020 QUIK package.

were developed as part of th is contract and are documented in this section.

A l l other subroutines

Page 11: (TM Series) - NASA

'.

March 15, 1971 2-5 System Development Corporation

TM- (L)-HU-033/003/00

Subroutine I N I T

Purpose : Subroutine I N I T i npu t s a l l experiment c o n t r o l v a r i a b l e s and

i n i t i a l i z e s t h e experiment v a r i a b l e t a b l e , EVART.

Us age :

Input :

CALL I N I T (NS, EVART, NP)

NS - Number of sources

EVART - Experiment v a r i a b l e t a b l e

NP - P l o t f l a g

Input t o subrout ine I N I T is by card i n NAMELIST format.

NS - Number of Sources

NP - P l o t Flag (1 = P l o t a l l Levels of I n t e n s i t y

0 = P l o t Cumulative Only)

I D - Source I d e n t i f i c a t i o n

RAHR - Right Ascension (Hours)

RAMIN - Right Ascension (Minutes)

DDEG - Decl ina t ion (Degrees)

DMIN - Decl ina t ion (Minutes)

OBSTIM - Observation T i m e

BTP

ETP

TSS - Table Step S ize (Degrees)

- Beginning Table P o s i t i o n (Degrees)

- Ending Table P o s i t i o n (Degrees)

A l l of t h e above inpu t i t e m s are s t o r e d i n t a b l e EVART except

NS and NP-

Since NAMELIST does n o t provide for BCD i npu t , t he source

i d e n t i f k c a t i o n is input in code< format as follows:

Page 12: (TM Series) - NASA

March 15, 1971

1 - Tau X-1

2 - V i r XR-1

3 - Cen XR-2

4 - sco x-1 5 - sco XR-2

6 - GX 3+1

7 - GX 5-1

8 - GX 9+1

9 - Sgr XR-2

10 - S e r XR-2

11 - cyg XR-1

12 - Cyg x-4

13 - Cyg XR-2

14 * Cas XR-l. 15 - Vel. XR-31

2-6 System Development Corporation

TM- (L)-HU-033/003/00

16 - LUP XR-1

17 - Nor XR-2

18 - S C O X-2

19 - Ara XR-1

20 - GX-5.6

2 1 - Sgr XR-1

22 - Ser XR-1

2 3 - Cep XR-1 24 - Leo XR-1

25 - @en XR-3

26 - Cen XR-1

27 - Nor XR-1

28 - SCO XR-4 29 - L7 38 - LS

31 - Oph XR-2

32 - SCO XR-3

33 - GX 9+9

34 - Oph XR-1 35 - sco XR-5

36 - SCO XR-6

37 - Lyr Iw-1

38 - Sgr XR-5

39 - Aql XR-1

40 - Cyg XR-3

4 1 - Cyg X-3

42 - Vu1 XR-1

43 - L a c XR-1

44 - Cep XR-2

45 - Cep XR-3

Sto rage : 370(8

Page 13: (TM Series) - NASA

March 15, 1971 2-7

Subroutine PULDAO

System Development Corporation TM- (L)-HU-033/003/00

Purpose : Subroutine PULDAQ acqui res p u l s a r d a t a from t ape and converts

i t from b i t t o word format.

Usage:

Method:

CALL PULDAQ (I, PULDT)

I - Source index

PULDT - Pul sa r d a t a t a b l e

Pulsar d a t a is read from t ape i n s t r i n g format where 1 b i t

r ep resen t s 1 mil l i second of observation.

t o 1 b i t per word t o f a c i l i t a t e later ana lys i s .

The d a t a is unpacked

Input d a t a s t r i n g

Subroutines: BIT (Logical b i t t e s t i n g rou t ine )

Storage : 68

Page 14: (TM Series) - NASA

March 15, 1971

\

System Development Corporation 2-8 ' TM- (L)-HU-033/003/00

Enter

Read block of pulsar 1 daya 1

Figure 2-2. Subroutine PULDAQ 1.

Page 15: (TM Series) - NASA

March 15, 1971 2-9 System Development Corporation

TM- (L)-HU-033/003/00

Subroutine PULDAN

Purpose : Subroutine PULDAN d e t e c t s X-ray pu l sa t ions and determines t h e

approximate p u l s a t i o n period.

Usage :

Method:

CALL PULDAN (I, PULDT, DUMMY, KFLAG, POWSP, TOP109 KTOPlO)

'6: - Source index

PULDT - Pul sa r d a t a t a b l e

DUMMY

KFLAG

POWSP

TOP10 - Ten h ighes t amplitudes of power spectrum

KTOP10 - Index of 10 h ighes t amplitudes

- Duplicate of p u l s a r d a t a t a b l e requi red by FFT

- Pul sa r i n d i c a t o r (1 = p u l s a r , 0 = no pu l sa r )

- Power spectrum of p u l s a r d a t a

The method used t o d e t e c t p u l s a r s and t o estimate t h e i r

fundamental frequency is an a p p l i c a t i o n of a Cooley-Tukey type

Fas t Four ie r Transform (FFT) t o ob ta in a power spectrum of t h e

de t ec t ed X-radiation. The pu l se t r a i n of un i ty amplitude serves

as t h e inpu t t o t h e ETT which produces cos ine and s i n e amplitude

c o e f f i c i e n t s : ,, N-1

,, N-1 r = 0, 1, e . . ) N-B = - L C $ (sin2ark/N)

Br k=O

t h t h are t h e I-- c o e f f i c i e n t s , $ denotes t h e k- where Ar and B r aample of t h e t i m e series of N samples.

From t h e cos ine and s i n e amplitude c o e f f i c i e n t s , a set of power

amplitudes is computed gs

'Ar -+ jB,)'Ar * jBr) a PAr =

where T is t h e number of time increments i n t h e sample and

; P =

Page 16: (TM Series) - NASA

March 15, 1971 2-10 System Development Corporation

TM- (L ) -HU- 0 3 3 / 003 / 00

The spectrum of power amplitudes i s s o r t e d t o i s o l a t e the

frequencies a t which the amplitudes are the h ighes t . The

10 h ighes t amplitudes are summed and i f t h e r e s u l t i n g va lue

is g r e a t e r than 5% of the sum of a l l amplitudes, t h e source

is considered a pu l sa r . The frequency a t which t h e power

amplitude i s the g r e a t e s t is t h e fundamental frequency of

t he X-ray source.

Subroutines: EVAL (Power spectrum density)

225 (8 Storage: \

Page 17: (TM Series) - NASA

March 15, 1971 2-11

transform of pulsar data an

Compute the average of the sum of all power amplitudes

N- 1 SPA = C PAr /N

r=Q I

System Development Corporation T W (L)-HU-O33/003/00

Figure 2-3, Subroutine PULDAN I I

Page 18: (TM Series) - NASA

March 15, 1971

Purpose :

Usage:

2-12

Subroutine EVAL

System Development Corporation TM-(L)-HU-033/003/00

Subroutine EVAL c a l c u l a t e s t h e power spectrum using t h e real

and imaginary arrays.

CALL EVAL ( X l , X2, N, SR, Y 1 )

X 1 - Input d a t a f o r t he f i r s t d a t a a r r ay .

X2 - Input d a t a f o r t h e second d a t a array.

N - The number of p o i n t s i n t h e X 1 and X2 a r r ays where N 212,

set t o a negat ive va lue on e r r o r r e t u r n and t h e r o u t i n e

w i l l no t c a l c u l a t e t h e power spectrum.

I f N is not a power of 2 , t h e value of N w i l l be

SR - The sample rate f o r t h e data .

Y 1 - The cross power spectrum a r r a y conta in ing N s p e c t r a l

estimates.

Subroutines: HARM (Subroutine HARM is an IBM Share r o u t i n e which has been

converted t o t h e IBM-7094.)

ESF (The subrout ine LSF is a b i t manipulation r o u t i n e wi th

e n t r y p o i n t s IRS and INVERT.)

Res t r i c t ions : 1. Subrout ine EVAL removes t h e mean from t h e X I and X2 d a t a

a r r a y s be fo re t h e c ros s power spectrum is ca l cu la t ed .

2. Afte r a success fu l c a l l t o EVAL, t h e d a t a is destroyed

i n t h e X I and X2 d a t a a r r ays .

A f l a g can be set i n t h e r o u t i n e t o a i d i n program checkout

by p r i n t i n g t h e power spectrum f o r each d a t a a r r ay .

3.

4. If t h e c s n t e n t s of XI and X2 d a t a a r r ays conta in t h e same

d a t a , t h e Yli a r r a y w i l l l b e a s i n g l e power spectrum.

Storage :

Page 19: (TM Series) - NASA

March 15, 1971 2-13 Sys t e m Development Corporation

TM-(L)-HU-033/003/00

Subroutine LSF

Purpose : Subroutine LSF moves a s t r i n g of b i t s l e f t , r i g h t , o r produces

a mir ror image f o r N b i t s where N - < 32.

Usage : CALL LSF (IWORD, NBITS)

IWORP - The r o u t i n e w i l l move a s t r i n g of b i t s i n IWORD t o t h e

l e f t . NBITS - The number of places t o move t h e s t r i n g of b i t s i n IWORD.

Entry Po in t I1

CALL IRS (IWORD, NBITS)

IWORD - The e n t r y IRS w i l l move a s t r i n g of b i t s i n IWORD t o the

r i g h t .

NBITS - The number of p l aces t o move t h e s t r i n g of b i t s i n IWORD.

Entry Po in t I11

CALL INVERT (IWORD, NBITS)

IWORD - The e n t r y w i l l i n v e r t a s t r i n g of b i t s t o produce a

mi r ro r image.

NBITS - The number of b i t s i n IWORD t o i n v e r t .

216 (8 Storage :

Page 20: (TM Series) - NASA

March 15, 1971 2-14 System Development Corporation

TI+ (L)-HU-033/003/00

Subroutine PULDDI

Purpose : Subroutine PULDDI p resen t s t he analyzed pu l sa r d a t a i n graphic

form.

Usage:

output :

CALL PULDDI (I, EYART, POWSP, TOP10, KTOPlO, X, Y, DOMFRQ)

I - Source index

EVART - Experiment v a r i a b l e t a b l e

POWSP - Power spectrum of pu l sa r d a t a

TOPlO - Amplitude of 10 h ighes t f requencies

KTOP10 - Index of 10 h ighes t amplitudes

X - Working s to rage a r r a y

Y - Working s to rage a r r ay

DOMFRQ - Dominant frequency

The SC-4020 p l o t t e r is used as t h e output device f o r p l o t s of

t h e power spectrum of t h e p u l s a r data . See .F igure 2-7.

Subroutines: CTOBCD (Convert t o BCD)

QUIK3V (SC-4020 p l o t rou t ine )

411 (8 Storage :

Page 21: (TM Series) - NASA

*

March 15 , 1971

Purpose :

Usage:

Method :

2-15

Subroutine POLDAO

System Development Corporation TM- (L) -HU-0 33 /OO3 / 00

Subroutine POLDAQ acqui res from tape , e d i t s and maintains

cummulative t o t a l s of the polar imeter data .

CALL POLDAQ (I, J , POLDT)

I - Source index

J - Polar imeter t a b l e p o s i t i o n index

POLDT - Polar imeter d a t a t a b l e

Polar imeter d a t a is read from tape , extraneous b i t s s t r ipped

o f f and t h e r e s u l t i n g values s t o r e d i n t a b l e POLDT as follows:

7 l==z=l\ Data counts

Source 1 cumulative

t o t a l s of polar imeter scaler d a t a

f o r t a b l e

p o s i t i o n 1

1 1

Beam counts I

Page 22: (TM Series) - NASA

March 15, 1971

&

Subroutines : BIN (AND operator)

174 (8 Storage :

System Development Corporation 2-16 TM- (L)-HU-033/003/00

Page 23: (TM Series) - NASA

. March 15, 1971

System Development Corporation 2-17 TM-(L)-HU-033/003/00

Enter (7) Polarimeter

Initialize

And measure- ment L with

And measure- ment L+8 wit

Figure 2-4. Subroutine POLDAQ

Page 24: (TM Series) - NASA

March 15? 1971, 2-18 System Development Corporation

TM- (L)-HU-033/003/00

Subroutine POLDDP

Purpose : Subroutine POLDDP formats and p resen t s t h e polar imeter d a t a i n

graphic form.

Usage :

Method:

CALL POLDDP (I, POLDT, EVART, NP, DEGPOL, PM)

- Source index \

I

POLDT - Polar imeter d a t a t a b l e

EVART - Experiment v a r i a b l e t a b l e

NP - P l o t f l a g

DEGPOL - Degree of p o l a r i z a t i o n

PM - Angle of m a x i m u m p o l a r i z a t i o n

Degree of p o l a r i z a t i o n is ca l cu la t ed as

x 100. max - min m a x + min D =

Angle of maximum p o l a r i z a t i o n i s determined by i n t e r p o l a t i o n .

Output : The SC-4020 i s used as t h e output device. See Figure 2-8.

Subroutines : CTOBCD (Convert t o BCD)

LAGRNG (Lagrangian i n t e r p o l a t i o n )

QUIK3V (SC-4020 p l o t rou t ine )

Storage : BO75

Page 25: (TM Series) - NASA

March 15, 1971 2-19

Set up X axis values based

Calculate degree of r- polarization

Interpolate for angle of

maximum polarization

System Development Corporation TM- (L)-HU-033/003/00

Figure 2-5. Subroutine POLDDP

Page 26: (TM Series) - NASA

March 15, 1971 2-20 System Development Corporation

TM- (L ) - HU- 0 3 3 / 00 3 /00

Subroutine SUMUP

Purpose : Subroutine SUMUP outputs a summary of t h e t o t a l observat ion of

each source.

Us age : CALL SUMUP (I, EVART, POLDT, TOP10, IcTOPlO, DEGPOL, PM,

DOME'RQ)

I - Source index

EVART - Experiment v a r i a b l e t a b l e

POLDT - Polar imeter da t a t a b l e

TOP10

KTOP10 - Index of t e n h ighes t amplitudes

DEGPOL - Degree of p o l a r i z a t i o n

PM

KFLAG - Pul sa r i n d i c a t o r

DOMFRQ - Dominant frequency

- Ten h ighes t amplitudes of power spectrum

- Angle of m a x i m u m p o l a r i z a t i o n

Output : See Figures 2-20 through 2-23.

624 (8 Storage :

Page 27: (TM Series) - NASA

March 15, 1971 2 .4 Sample Input

System Development Corporation 2-21 TM- (L)-HU-033/003/00

Card input for 4 sample X-ray sources is presented i n Figure e

$DATA $NAMI NS = 4 NP = 1 $ $ NAM2 ID = 2 RAHR = 12. RAMIN = 30.7 DDEG = 12. DMIN = 30. OBSTIM = 20. BTP = 0. ETP = 350. TSS = lo.$ $NAM2 I D = 18 RAHR = 16. RAMIN = 53,

DMIN = 0. OBSTIM = 10. TSS = IO.$ $NAM2 I D = 21 RAHR = 17. RAMIN = 48.

DMIN = 0. OBSTIM = 20. TSS = lo.$ $NAM2 I D = 13 1 RAHR = 21. RAMIN = 42. DDEG = 38.

BTP = 0. ETP = 175. TSS = 5.$

DDEG = -40.

DDEG = -30.

$END

Source 1

Source 2

Source 3

Source 4

Number of Sources and Plot Flag i

1 1 1 1

1

~

J Figure 2-6. Sample Experiment Program Input

. .

Page 28: (TM Series) - NASA

March 1 5 , 1971 System Development Corporation

2-22 TM- (L)-HU-033/003/00

2 . 5 Sample Output

Output for 4 sample X-ray sources is presented i n Figures 2-7 through 2-19.

4 t

p: a I

Figure 2-7. Power Spectrum of Pulsar Data - Source 1

Page 29: (TM Series) - NASA

March 1 5 , 1971 2-23 System Development Corporation

TM- (L)-HU-033/003/00

a " w

I

Figure 2-8. Cumulative Totals of Polarimeter Data Counts - Source 1

Page 30: (TM Series) - NASA

March 15, 1971 System Development Corporation

2-24 TM- (L)-HU-033/003/00

c in 0 U

L

n

I

ii Y L

Figure 2-9, Power Spectrum of Pulsar Data - Source 2

Page 31: (TM Series) - NASA

March 1 5 , 1971 2-25 System Development Corporation

TM-(L)-HLJ-033/003/00

b

1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 I I l I I I I 1 I I I I I I I I I I I I l I l l l l I 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 t I I I I I I I

3

F *

b

P S I t s Q P ar0a.Z - e * @ ~ ~ a r 0 ~ ~ ~ Qlg O(0 I w a ~ a d ~ t - ~ ~ ~ wet-

Figure 2-10. Cummulative Totals of Polarimeter Data Counts - Source 2

Y X

W a 8 3 9 c

Page 32: (TM Series) - NASA

March 15, 1971 2-26 System Development Corporation

TM- (L ) -HU- 0 33 /OO3 /OO

I

c f f

8

I

a % ~ ~ m ~ a Q ~

Figure 2-11. Power Spectrum of Pulsar Data - Source 3

Page 33: (TM Series) - NASA

March 15, 1971 2-2 7 System Development Corporation

TM-(L)-HU-033/003/00

@ o s e t - c r o ~ o c a o o s *de*e a u u o z a s o e ~ r n s ~ ~ a ~ ~ w o ~ I u a ~ ~ ~ g ~ m ~ ~ t - 0 t - 6 ~ ~

Figure 2-12, Cumulative Totals of Polarimeter Data Counts - Source 3

r. I

x a

w U

I

Q

Page 34: (TM Series) - NASA

March 1 5 , 1971 2-28 System Development Corporation

TM-(L)-HU-033/003/00

Page 35: (TM Series) - NASA

March 15, 1971 2-29 System Development Corporation

TM- (L ) -HU-O 3 3 / 003 / 00

Figure 2-14,

*

W P . 0 ~ ~ W O % ~ ~

Intensity Level 5, Polarimeter Data Counts - Source 3

Page 36: (TM Series) - NASA

March 15, 1971 2-30 System Development Corporation

TM- (L ) -HU-0 3 3 / 00 3 / 00

P 0

Figure 2-15. Intensity Level 6, Polarimeter Data Counts - Source 3

Page 37: (TM Series) - NASA

March 15, 1971 2-31 System Development Corporation

TM-(L)-HU-033/003/00

l

x a

c

I

Figure 2-16, Intensity Level 7, Polarimeter Data Counts - Source 3

Page 38: (TM Series) - NASA

March 15, 1971 2-32 System Development Corporation

TM- (L)-HU-033/003/00

Figure 2-17. I n t e n s i t y Level 8 , Polar imeter Data Counts - Source 3

Page 39: (TM Series) - NASA

March 15, 1971 2-33 System Development Corporation TM- (L ) -HU-0 33 / 003 / 00

., F

Figure 2-18. Power Spectrum of Pu l sa r Data - Source 4

Page 40: (TM Series) - NASA

March 15, 1971 System Development Corporation

2-34 TM-(L)-HU-033/003/00

Figure 2-19. Cumulative Totals of Polarimeter Data Counts - Source 4

Page 41: (TM Series) - NASA

March 15 , 1 9 7 1 System Development Corporation

2-35 TM-(L)-HU-O33/003/00

Figure 2-20. Observation Summary - Source 1

Page 42: (TM Series) - NASA

March 15, 1 9 7 1 System Development Corporation

2-36 TM- (L ) - HU-O 3 3 / 0 0 3 / 00

5 b h h k t ( Y Lk O B b L h ' d h T I b i k

T H B L L S T E P S I Z E 10. DE6REE.b

1 c! 2 1 7 7 8 3 110( .9 4 7 2 2 2 5 5166 6 L b U 5 7 302 8 0

bEAM C O U N T S NUMBER P E R C t h T

24 2513

1 LtLi5 1 13030

7 1 3 1 31314

YJ2 0

Figure 2-21. Observation Summary - Source 2

Page 43: (TM Series) - NASA

< v

March 15, 1971 2-37 System Development Corporation

TM- (L)-HU-033/003/00

D A T A C O U N T S LLVLL NUMUtlR P E K C E r~ T

c l P e 9 0 C P Q 0 0 0 0

3 1 1 2 I 2YJ12 17.0

1 0 8 6 2 6 63.5 2 5 5 1 9 A4.Y 9822 Z Q d

0 0 0

264 1 2 5 2 U 6 9 5 2 7 3 22275 4145

Figure 2-22, Observation Summary - Source 3

Page 44: (TM Series) - NASA

March 15, 1971 System Development Corporation

2-38 TM-(L)-HU-033/003/00

SU;IMai<Y Ut- O t i b t t i V ~ T I O i V

AlvGLE UF M A X I M U M P O L A H I L A T I O N - 2 0 . 8 DEGREES

X - R A Y I N T L N S I T Y

LEVEL

1

U A T A c o u w r s NUMB E R P E K C E h T

U E A M C O U N T S Ed U 1\1 e E H P E R C E N T

X - R A Y P U L S A T l O N

a 7 . b 11.7 0.5 al.a 0.0 0.0 0.0 0€30

Figure 2-23. Observation Summary - Source 4

Page 45: (TM Series) - NASA

March 15, 1971 2-39 System Development Corporation

TM-(L)-HU-033/003/00

2.6 Program Listing

Page 46: (TM Series) - NASA

March 15, 1971 2-40 System Development Corporation

TM-(L)-HU-033/003/00

C C r e r e r C L U b E SC-4020 F I L E

CALL CLEAN S T U P CLNO

Page 47: (TM Series) - NASA

March 15 19 71 System Development Corporation

TM- (L ) -HU- 0 33 / 0 0 3 / 0 0 2-41

Page 48: (TM Series) - NASA

March 15, A971 2-42 System Development Corporation

TM-(L)-HU-033/003/00

Page 49: (TM Series) - NASA

March 15, 1971 2-43 System Development Corporation

TM- (L ) -HU- 0 3 3 / 0 03 / 0 0

... .

-

.._

...

" I ...

Page 50: (TM Series) - NASA

March 15, 1971 2-44 System Development Corporation

TM-(L)-HU-O33/003/00

.. .

Page 51: (TM Series) - NASA

March 15, 1971. 2-45

System Development Corporation TM- (L) -HU-033/003/00

C

c 6

s ~ b ~ O ~ T I h t ; & V A L K E r l O V E S THE PIEAN FCIOri T H E h i AND X2 A R H A Y S ANI2 C A L L S S U U H D U T I N L H A R N e 1;VAL T A K t S THE T t v O AkIHAYS H E T l l H N E D F R O M H A R M A N D C A L C U L A T E S T H t POI~YEH SPECTRUPI ,

. .

Page 52: (TM Series) - NASA

March 15, 1971 2-46 System Development Corporation

TM- (L)-Hu-033/003/00

I-

Page 53: (TM Series) - NASA

March 15, 1971 2-47 System Development Corporation

TM- (L)-HU-033/003/00

C C C C C C C C C C C C C C C C C C

C

C

c

Page 54: (TM Series) - NASA

March 15, 1971 2-48 System Development Corporation

TM-(L)-HU-033/003/00

. .-

.. . . , . ,

. _ .

.. .

. ". . . -.

Page 55: (TM Series) - NASA

March 15, 1971 2-49 System Development Corporat ion

TM-(L)-HU-033/003/00

Page 56: (TM Series) - NASA

March 15, 1971 2-50 System Development Corporation

TM-(L)-HU-033/003/00

Page 57: (TM Series) - NASA

March 15, 1971 2-51

System Development Corporation TM-(L)-HU-033/003/00

( U O M I I U A N T FREWU

Page 58: (TM Series) - NASA

March 15, 1971 System Development Corporation

2-52 TM- (L) -HU-033/003/00

. -

.I. .

Page 59: (TM Series) - NASA

March 15, 1971 System Development Corporation

2-5 3 TM- (L)-HU-033/003/00

C

C H E A L LLVkL

.. .

. . . .- .-

.‘._ ...._ ..I_-

. . .-~

. I

.- . . . 1 . .__.-

C

Page 60: (TM Series) - NASA

March 15, 1971 2-54 System Development Corporation

TM- (L)-Hu-033/003/00

. . - . -.

I_ I .. . I__.-

. . -. . . .- . .. .

Page 61: (TM Series) - NASA

March 15, 1971 2-55 System Development Corporation

TM- (L)-HU-O33/003/00

. _. .. .

. .

... _ . .

- .. . .. . . . ~.,. , - .-._.I. .-

Page 62: (TM Series) - NASA

March 15, 1971 2-56 System Development Corporation

TM- (L)-HU-033/003/00

. . -. .

Page 63: (TM Series) - NASA

March 15, 1971 3-1 System Development Corporat ion

TM- (L)-HU-O33/003/00

SECTION 3. DATA GENERATION PROGRAM

The Data Generat ion Program s imula t e s t h e output of t h e X-ray po la r ime te r and

p u l s a r mode counter.

s imulated experiment program.

The output of t h i s program serves as t h e i n p u t t o t h e

3.1 Input

The fo l lowing parameters are inpu t i n NAMELIST format f o r each X-ray source t o

be s imula ted :

NAME - Source I d e n t i f i c a t i o n Code

ITIME - Observat ion T i m e at Each Table P o s i t i o n (Seconds)

STEP

BEGIN - Beginning Table P o s i t i o n (Degrees)

END - Ending Table P o s i t i o n (Degrees)

AMAX - Angle of Maximum P o l a r i z a t i o n (Degrees)

DATAM - Data Count i n Plane of Maximum P o l a r i z a t i o n (Average Data Counts

- Table S tep S i z e (Degrees)

p e r Second)

DATAP - Data Count i n Plane Perpendicular t o P lane of M a x i m u m

P o l a r i z a t i o n (Average Data Counts p e r Second)

TOT1

DEV FREQ AMP

PHs - Pul se Height Spread (Percentages)

- T o t a l I n t e n s i t y (Average Data and Beam Counts p e r Second)

- Desired Random Devia t ion of Polar imet ry Data (Percentage)

- P u l s a t i o n Frequency (Pulses p e r Second)

- P u l s a t i o n Wave Form Amp,litude

3.2 Propram Flow

Figure 3-1 p r e s e n t s t h e flow of t h e Data GenerationtProgram.

3.3 Subrout ines

' I

The following' sub rou t ihes arb c a l l e d by t

RANDOM -' Random ti.mber Genera& PULSAR - P u l s a r Data Generator

OWLO - Poiarkme tei Buffek Oviidow

1 1 ' I I l l

I I ' I 1 '

1 1 , I I ' I I I I I

1 1 I , 4 ' ( I I I

Page 64: (TM Series) - NASA

March 15 , 1971

In i t ia l i ze loop for

table position i

3- 2 System Development Corporation

TM- (L)-HU-O33/003/00

Start

random number generator

I

Read number of sources

!e _.

Input Simulation Var iab l e s

for Source n : source?

number of table posit ions

Clear DATA

Figure 3-1, Routine DRIVER

Page 65: (TM Series) - NASA

'

-.c

Compute cu r ren t t a b l e p o s i t i o n KPOS = BEGIN +

March 15 , 1971 3- 3 System Development Corporation

TM- (L)-HU-033/003/00

DATAM-DATAP)+(sln ( 2. (BEGIN+(STEP (i-1))+45 .-AMAX) DATAM-DATAP) 2 . 57.296 ) ( 2. COUNT = DATAP + (

I n i t i a l i z e loop f o r num- b e r of seconds of observat ion

I I n i t i a l i z e loop t o d i s t r i b u t e d a t a and

beam counts t o pu l se he ight b ins

I

beam counts

F igure (3

3-1 e (Cont e

Write d a t a f o r t a b l e p o s i t i o n i

on t a D e

GJ ) Routine DRIVER

Page 66: (TM Series) - NASA

March 15 , 1971 3-4 System Development Corporation

TM- (L)-HU-033/003/00

Subroutine OVRFLO

Purpose : Subroutine OVRFLO outputs overflow polarimeter data and beam

counts and adjust the internal counters accordingly.

Usage: CALL OVRFLO (DATC, BEAM, KPOS)

DATC - Data count array

BEAM - Beam count array

KPOS - Table position

Storage: 207 locations

Page 67: (TM Series) - NASA

March 15, 1971 3-5

r '---- .-

System Development Corporation TM- (L) -HU-033/003/00

KDATA(K)=DATC(K)

KBW(K)=8191 BEAM(K) = BEAM(K)-819l

KBEAM(K) =BEAM(K)

BEAM(K) = 8

Output. KDATA and

KBEAM tables

Figure 3-%a Subroutine OVRFLO

Page 68: (TM Series) - NASA

PIarch 15 , 1 9 7 1 3- 6 System Development Corporation

TM-(L)-HU-033/003/00

Subroutine PULSAR

Purpose : Subroutine PULSAR computes si inulated pu l sa r d a t a as a s inuso ida l

func t ion of t i m e modified by a normally d i s t r i b u t e d p r o b a b i l i t y

funct ion.

\

U s age : CALL PULSAR (TOTI, FREQ, AMP)

TOTI - Tota l i n t e n s i t y of s imulated source

FREQ - Frequency of s imulated source

AMP - Peak amplitude of s i n e wave

Method: Pu l sa r d a t a is generated as a s inuso ida l func t ion of t i m e , i .e . ,

t h where i i n d i c a t e s t h e i- mil l i second of observat ion during

per iod P where

P = ( ~ . / F R E Q ) ~ O O O .

and RN i s a normally d i s t r i b u t e d random number between 0 . and

1.0. F i s compared a g a i n s t a threshold ,

THRESH = 1. - (TOTI/1000.)

I f F is g r e a t e r than o r equal t o THRESH, N , 1 is set t o 1

i n d i c a t i n g an X-ray photon h i t during mil l isecond i; otherwise,

N . is set t o 0 i n d i c a t i n g no h i t . 1

Subroutines: PULOUT (Pulsar da t a output)

RANDOM (Random member genera tor )

Storage : (8

2160

Page 69: (TM Series) - NASA

March 15, 1971

1 Enter

,- _ _ . - I - - - -~ 1 Calcula te number , I of b i t s p e r cyc le j

Calcula te th reshold

System Development Corporation TM- (L)-HU-033/003/00 3- 7

-. -- --

output 1

u l s a r d a t

Figure.3-3. Subrout ine PULSAR

Page 70: (TM Series) - NASA

March 15, 1971 3-8 System Development Corporation

TM- (L) -HU-O33/OO3 /00

Subroutine PULOUT

Purpose : Subroutine PULOUT packs and outputs the pu l sa r d a t a generated

by subrout ine PULSAR.

U s age : CALL PULOUT (N)

N - Pulsar da t a array

Method : Pulsar d a t a is packed i n s t r i n g format where 1 b i t represents

1 mil l isecond of observat ion. A l l 36 b i t s of t he computer

word, which are read from l e f t t o r i g h t , are used.

of observat ion is output on tape p e r ca l l t o subrout ine PULOUT. One second

Subroutines: BIN (or opera tor )

Storage: 433(8

Page 71: (TM Series) - NASA

March 15, 1 9 7 1

In i t ia l i ze pulse counter

word counter

b i t counter

3-9 System Development Corporation

TM- (L) -HU-0 33 /003 / 00

Output packe data to

Return

Figure 3 - 4 . Subroutine PULOUT

Page 72: (TM Series) - NASA

March 15, 1971 System Development Corporation

3-10 TM-(L)-HU-033/003/00

3 . 4 Sample Input

Figure 3-5 p resen t s t h e inpu t d a t a f o r 4 X-ray sources.

correspond t o the sample cases presented i n Sec t ion 2 .

These sample cases

$DATA 5 INPUTS NS = 4$ $INPUT NAClE = 2 I T I N E = 10 STEP = 10. BEGIN = 0. END = 350. AMAX = 27.1 DATAM = 2 0 0 . DATAP = 100. DEV = .3 T G T I = 2 5 0 . . FREQ = 4.9 PHS = .0,017,.29,.41,.02,.01,0.,0. AMP = . 5 $ $INPUT NAME = 18 ITIF4E = 2 0 \ STEP = 10. AMAX = 96. DATAM = 75. DATAP = 10. DEV = .2 T B T I = 100. FREQ = 3.6

AMP = l.$ !$I NPUT NAME = 21 I T I M E = 2 0 AMAX = 21. DATAM = 400. DATAP = 80, DEV = .1

T B T I = 450. FREQ = 9.7

AMP = .7$ $INPUT NAME = 13 I T I M E = 15 STEP = 5,

PHS = -01 9 e 0 7 e 379.25 ,.18,.10, e 0 2 9 m O

PHS = O . , O e ,O.O.O2,m17,o63,.15,.O3

Number of Sources > , Source 1

Source 2 I Source 3 I ,

1 Figure 3-5. Sample Data Generator Program Input

Page 73: (TM Series) - NASA

March 15 1971 3-11 Sys tern Development Corporation

TM-(L)-HU-033/003/00

G E G I N = 0. EN@ = 175. ANAX = 11.7 DATAM = 500. DATAP = 400, DEV = .5 T B T I = 550. FREQ = 18.1 PHS = .87,.12,.01,0. , O . , O . , O . , O . AMP = .6$ $END

Source 4 1

Figure 3-5 (cont), Sample Data Generator Program Input

Page 74: (TM Series) - NASA

System Development Corporation TM-(L)-HW033/003/00 March 15, 1971 3-12

3 . 5 Sample Output

Sample output data for two X-ray sources are presented i n Figures 3-6 through

3-9 0 I Ih lU IU

I

!," 0

10 e 0 0

0-

0 0 ..a

i-0 0

L

1 -

0 4

4

I

't

I

IC) '0 0 :g 0 0 .O 0 '0 !O 0

10

0 '0 0 0

IO

1 0

0 10 0 0 0 0 0 '0 0 IO' Io

0 0 0 0 0 a

0 0 0

' 0 '0 0 0 0 0

1 0 0 0

I

:0 0 0 '0 -0 0 0 0 0 *O !O '0

0 0 0 0

,O '0 0

E ,O

C

'0

0 0

0 0

0 0

M

4

*

-.

I

I*) 0

- - - O h I o o ' - O r . o o ~ o - ~

0 0 0 0 d Io 0 0 IO 0 0 0 0 0 0 0 L . 0 ~ 0 0 0 0 0 0 0 0 0 0 0

t .. 0 1 - 0 0 - 0 ' 0 ' 0 0 - - 7 0 0 0 0 0 0 ' 0 0 ' 0 0

0 0 0 0 0 3

'0

0 d L

*

'0 0

3 0

:z .o IO

0 1

'2 . r n r ) ' I* O h ,a oh u O h

I- - ,- I -

10 0 0

8 0

' 0 0

1 1

e 0 0 0 0 e w 4

0 0 0 0

0 - 0

0 0

0 0 0

-

' 0 0

1 0 0 0 0

IO 0 0 ' 0 0 0

0 0 0 0 0 0 .O 0 '0 0 0 0

0 0 ig 10 '0 0 0 SO 0 0

' 0 D ' 0

0 '0 0

0 0 0 B

..-l

.-l

0 0 0 ,O 0 0 0

G L.

0

0 0 0 0 0 0

0 0 U 0

0

0 0

0 0 0

-.

- .-l - &

0

1

0

0

0

,O '0

0

L.

e 1

-.

'2

4 4

0 0

0

0 0

0 0

4

1 -

0 0 0 0

" 0 m o

0 0 0 0 a c1

I- ,- e I-

:O

0

0

- I.. .- - 4

0 0 0

0 0 0

0

.e

- 4

0

0 0

4

d

0 0

0 1

d * 4 - 0

0 0

0 0

0 0

0 0 0 0 0 0 0

-0 - -

0 0 In 0 0 K 0 0 % 0 0

0 0 I

0 3 ' 0 0 ' 0 ' 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0

'0

0

0 0

.-l

E j0

10 - 0

0

10 0 0 .o

0 0 0 0 0 0 0 0 0 0 0 0

- 0 0

0 0 0 0 - 0 0 - -

I _

0 3 0 a

0 0

0

0 0 0 0

0 0

- .-l

0 0

0 0 0 0 0 0 0 3 0

d

- - 0 0 0 0 0 0 0

e 0

0 ' 0 0 0 0 0 0 0 0 0 - -_

0 0 0 0 0 0 0 0 0 0 0 0

t m -'-l 0 1 o m

u o o E O 0

0 0 0 0 0 0 0 0 0 0 o m

* I & LL 3

(Yk k 3

- 0 .o 0 .o 0 0 0 .o 0 0 0

-I#. k 0

0 0 0 0 4

e .-

0 0 0 0 0 0 0

0 0 0 0 - 0 - 0 0 - 0 0 0 - 0 0 a 3 0 0 - 0 0 0 - a - 0 0 - 0 0 - - 0 0 0 0 0 - 0 0 0 0 - o a o 0 '

0 0 0 0 - 0 0 - - 0 - 0 a - 0 0 - 0 0 0 - 0 0 0 0 0 0 0 0 0 0 - 0 o e -

0 0 0 0 0 0

n o 3 0

4 m - 0 0 0 0 '3 d 0 0 0 0 z 0 0 0 0 0 ~ 0 0 0 - 0 J - 0 - 3 0 0 O ' c l 0 0 VI O - . - o O O - . O O ~ o

0 0 t O 0 0 - 0 0 0 0 0 0 - 0 D O N P . 0 0 0 0 0 - - 0 0 0 - 0 3 + K h O 0 0 w h o 0 0 u o o h O - 0 0 0 0 - 0 0 0 0 0

a 0 0 0 0 - 0 0 - 0 0 IO 0 0

0 0 I L O 0 0 . - 0 0 0 0 0 0 0 0 n o 0 a a

0 0 n . J z i 0 0 0 0 0 - 0 ' 0 0 - 0

a a 3.

1 0 ~ ~ 0 0 0 - 0 0 0 - 0 . 0 0 0 0 n . _ o o - 0 , - 0

c - L L - r o o - 0 0 0 - 0 O I L 0 0 - 0 0 - 0 0 - 0 0 " 0 ' 0 0 0 0 0 0 0 0 ' 0 0 0 - 0 0 0 0 - 0 0 -0 I- 0

0 0 0 0 0 1 0 0 0 0 - 0 - 0 - 0 0 0 0 - 0 - 0

O r bb. 0 0 sm 3 0 3 0 0 - 0

1 : 9 - a 0 0 - 0 - 0 . - 0 - 0 - 0 X h O 0 0 ' 0 - 0 - 0 .a 0 0 0

t a u . N N ~ Y ~ Y N ~ N ~ W n t , t n - s h o - m n * m

a = ~ ~ m r ) r ) . t j . * t t j .

- 9 n J V'r. - 9 7 7 3 '2 c) 3 = - 3

- 3 8

9- 9 -tB d 9 4 'a 9 Q 9 9 d 0 0 0 0 0 !O 0 0 0 Q 0

m -I 9 9 0

u 0 d

Figure 3-6. Pulsar Data - Source 1

Page 75: (TM Series) - NASA

March 15, 1971 3-13 System Development Corporation

TN- (L)-HU-033/003/00

0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0 0 0 0 0 0 0 B 0 0 0 0 0 0 0 0 0 O O Q O 0 0 0000 0 0 0 0

Page 76: (TM Series) - NASA

4'

System Development Corporation TM- (L)-HU-033/003/00 March 15, 1971 3-14

0 0

M O ? - 0 ul 0 Y O

0 0 0 0 0 0

0a.B h6-0 0 O h rtnt

6 - 8

In* 4 O h r O h I( O h

O h I

0 0 m o o x 0 0

0 0

a 0 0

I

I - - m a - l r - 0 X h O

- 0 I

0 0 0 0 D

0 0 0 0 0 0 0

0 0 0 0

0 0 0 J 0 0 0 0 0 0 0 0

- 0 0 '0 10 0 0 0 0 0 0

0 e

0 0 .o 0 0 0

L

'E 0 0 0

0 0

0 .O

e

.- e 0

0 0

- e

0

0

a I

-0 - - 0

0 L

0 - -0

0 - - 4 - - 0 - - I - 0

0 - - 0 0 0 0

0 0 0

- I - - 0

0 0 0 0 0 u 0

I

r4 dl r) 9 0

0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0 0 0

0 0 0

- "

- I - -

d

0

0 e

1

e 4

e 0 4 d

- 1

1

0 0 4 - 1

0

0 0 n 0 0 0 1

d

0 0 0

0

0 0

0 0 0

1

4

0 0

0 0 0

0 0 0 0 0 0 0 0

0 0 0 0

0 0 0 0 0 0

-

0

J

i )

d - - d

0

0

0

- 1 - - 0

0 0

- - 3 1

N a- a- 9 0

e 4

0 0 '0 0

0 0 0 0

- 0 v)o

0 0 0 0 0 r)

* a - " 0 0 0 0 0 0 0 0 0 0 0 0

0 0 0 0

0

0

4 - - - 0 0

0 0 0

0 0 0 0

0 0

- - - 0

0

0

0 J

0

- - a - N m a- 'a 0

0 1 O N

u 0 0 E 0 0

0 0 0 0 0 0 0 0 P U

O m ' 0 0

a 0 0 0

0 0 0 0 o + 0 0

v 0 0 a 0 0

0 0 0 0 0 0 0 0 0 0 0 .

3 I?

9 -a 0

0 0

e

d

0 0 0 0 0 0 0 a a 0 -.

ryl -0 c) 4 0

t Q 0

Figure 3-8, 3

Page 77: (TM Series) - NASA

March 15, 1971 3-15 System Development Corporation

TM-(L)-HU-033/003/00

4 3

O O O O 0 0 0 0 0 0 0 3 0 0 0 0 Q 0 ~ O O O O O O O O O O O O O O n O O O O O O ~ O O O O O O O O O O O O O ~ O O O O O O O O O O O

o 0 0 0 3 0 0 0 0 ~ 3 0 0 0 0 0 0 o O O o o o o 0 o o ~ ~ o o o o o ~ o o o o o o o o o w o o o c ~ o o o ~ o o o o o o ~ o ~ I

Figure 3-9. Polarimeter Data - Source 3

Page 78: (TM Series) - NASA

March 15, 1971 3-16 System Development Corporation

TM-(L)-HU-033/003/00

Figure 3-9 (cont.), Polar imeter Data - Source 3

Page 79: (TM Series) - NASA

March 15 , 1971 3-17 System Development Corporation

TM-(L)-HU-O33/003/00

3.6 Program L i s t i n g

C c c c C C C c C c C C C C C C C c c C C C C C

Page 80: (TM Series) - NASA

March 15 1971 3-18 System Development Corporation

TM- (L) -HU-033/003/00

.

. .

Page 81: (TM Series) - NASA

March 15, 1 9 7 1 3-19

Sys tern Development Corporation TM- (L)-HU-O33/003/00

. - . . . . . I- . . . . I . .-

., . . . . . . . . . . . . . ..-... . . . . . . .......... ...

... .- .......... . . . . . . . . . .

. . . . _. . .

~ I - .

._. ._

. . .

... -

. . . . . . . . . . ._...

.

...... -

. . - . . . . . . --

. __I

- . . -. - . _ _

. . . . . . "--- ..... I

- ...........

. __

....... "I.-.-

. .~ .- -

.. I

. "._ .. _. . . . . .

....... -.

. , . .

. . . . . . . .

Page 82: (TM Series) - NASA

March 15, 1 9 7 1 3-20 System Development Corporation

TM- (L)-HU-033/003/00

,

.. , , .. .. I,_.-._

Page 83: (TM Series) - NASA

klarch 15 1971 3-21 System Development Corporation

TM- (L) -HU-o 33/ 003 / 00

.

. .... -

..I

- ..

-. . . . . . -.

.-

._ ..I..__ - . .. . . __..I --

Page 84: (TM Series) - NASA

March 15, 1971 4-1 System Development Corporation

TM-(L)-HU-033/003/00

SECTION 4. SUMMARY

. The X-ray polar imeter experiment of FPE 5.1 w a s analyzed and developed t o t h e

po in t where on-board ope ra t iona l sof tware could be designed and implemented

f o r t he a c q u i s i t i o n , a n a l y s i s and d i sp lay of primary da ta . The purpose of

t h i s e f f o r t was t o e s t a b l i s h some estimates of computer speed and capac i ty

required f o r on-board experiment processing.

FORTRAN I V and implemented on t h e MSFC Computation Laboratory's IBM 7094 11,

estimates of on-board t iming and load f a c t o r s must b e ad jus ted t o take i n t o

cons idera t ion the d i f f e rence i n speed and capac i ty of f u t u r e on-board

computers and t h e IBM 7094.

Since the sof tware w a s coded i n

Processing t i m e requi red on the IBM 7094 t o acqui re , analyze and d i sp lay the p r i -

mary da ta f o r a t y p i c a l observat ion sequence of one X-ray source i s approximately

33 seconds.

f a s t e r than f o r a c t u a l real t i m e d a t a a c q u i s i t i o n , t h e t o t a l processing

t i m e f o r d a t a a n a l y s i s and d i sp lay can b e spread o u t over t he e n t i r e

observat ion sequence. For example, a t y p i c a l observat ion sequence of 20

seconds a t each of e ighteen t a b l e p o s i t i o n s r ep resen t s s ix minutes of

e lapsed time as compared t o 33 seconds of processing t i m e i n t he s imulated

mode of operat ion. This would i n d i c a t e t h a t t h e process ing of t h e primary

d a t a can b e t i m e shared wi th o the r experiment opera t ions .

Since t h e a c q u i s i t i o n t i m e f o r s imulated d a t a i s considerably

Computer s t o r a g e w a s u t i l i z e d as fol lows:

Experiment modules 2,600 words

System and l i b r a r y rou t ines 15,500 words

Data and working s t o r a g e 14,600 words

T o t a l 32 , 700 words

The Four ie r a n a l y s i s of t h e pu l sa r d a t a w a s l imi t ed by t h e a v a i l a b l e core

s to rage of t h e IBM 7094 t o 4096 words of input--just over fou r seconds of

observat ion,

o r 163. seconds of observa t ion t o improve t h e accuracy and r e l i a b i l i t y of t h e

ana lys i s process .

wi th a r e l a t i v e l y long p u l s a t i o n per iod.

It would b e d e s i r a b l e t o inc rease t h e d a t a input t o 16,384 words

This is e s p e c i a l l y d e s i r a b l e f o r weak sources o r sources

Page 85: (TM Series) - NASA

March 15, 1971 4-2 System Development Corporation

TM- (L)-HU-033/003/00

This study has indicated that real time, on-board processing of primary experiment data can be beneficial not only in reducing the amount of data that must be transmitted, but also in reducing the reaction time to modify or update the experiment sequence due to unexpected events or experiment results.

Page 86: (TM Series) - NASA

March 15, 1971

DISTRIBUTION LIST

A&TS-PR-M (1 COPY) A&TS-MS-IL (1 COPY) A&TS-TU (1 COPY) A&TS-MS-IP (2 copies) S&E- COW-M (1 COPY) S6E-COW-C, Attn: Bobby C. Hodges (3 copies)

System Development Corporation TM- (L) -Hu-033/003/00