ai,'t y 13 !- u' - nasa · pdf fileai,'t y " 13 /t ; !- u' p_/s ......

15
4 - 9 Final Repo .rt IRAS Software Analysis Library 1 Gitta Domik 2 and C. Scott Merkle 3 University of Colorado 14 December 1991 _ Ai,'t Y " 13 /t ; !- u' p_/s Executive Summary The goal of this project was to col- lect "research software" written in IDL t to support analysis of IRAS data and make it available to the larger community. "Research soft- ware" describes software created by researchers and staff for a specific re- search goal, but lacks sufficient doc- umentatiort, easy-to-use interfaces, and rigorous debugging. Additional- ly, most of the IDL/IRAS code avail- able needed to be ported to a (largely) hardware independent new version of IDL. This report summa- rizes the activities and results of the one year grant. Due to the absence of Prof. Domik during the University year 1990/199i, the project received a no-cost extension of six months. This report details: • a list of IRAS/IDL functions that were created/modified under this grant; examples of these functions. All software modules were incorpo- rated into the IDL Astronomy Li- brary by W. Landsman at GSFC. 1. "Interactive Data Language" by Re- search Systems, Inc. 1. This work was supported by the National Aeronautics and Space Administration under the Astrophysics Data Program, NAGS- 1390. 2. Address: Gitta Domlk, Dept. of Computer Science, University of Colorado, CB 430, Boulder, CO. 80309-0430. Tel. (303)492-4062. Email: [email protected] 3. C. Scott Merkle is a Research Assistant at CASA, supported by this grant. (NASA-C_-]89520) I_A_ SO_T_/ARE A_.!ALY_i_ LIL3#A#Y Final Re#,ort (£o]orJdo Univ.) i5 p CSCL 09R N92-16017 Unc|ds G5/6] Oos_o_ https://ntrs.nasa.gov/search.jsp?R=19920007399 2018-05-07T12:37:17+00:00Z

Upload: doanthuy

Post on 04-Mar-2018

215 views

Category:

Documents


2 download

TRANSCRIPT

4

- 9

Final Repo .rt

IRAS Software Analysis Library 1

Gitta Domik 2 and C. Scott Merkle 3

University of Colorado

14 December 1991 _

Ai,'t Y " 13

/t ; !- u'

p_/s

Executive Summary

The goal of this project was to col-lect "research software" written in

IDL t to support analysis of IRASdata and make it available to the

larger community. "Research soft-ware" describes software created byresearchers and staff for a specific re-search goal, but lacks sufficient doc-umentatiort, easy-to-use interfaces,and rigorous debugging. Additional-ly, most of the IDL/IRAS code avail-able needed to be ported to a(largely) hardware independent newversion of IDL. This report summa-rizes the activities and results of the

one year grant. Due to the absence ofProf. Domik during the Universityyear 1990/199i, the project receiveda no-cost extension of six months.

This report details:

• a list of IRAS/IDL functions thatwere created/modified under this

grant;• examples of these functions.

All software modules were incorpo-rated into the IDL Astronomy Li-brary by W. Landsman at GSFC.

1. "Interactive Data Language" by Re-

search Systems, Inc.

1. This work was supported by the National Aeronautics and Space Administration under the

Astrophysics Data Program, NAGS- 1390.

2. Address: Gitta Domlk, Dept. of Computer Science, University of Colorado, CB 430, Boulder,

CO. 80309-0430. Tel. (303)492-4062. Email: [email protected]

3. C. Scott Merkle is a Research Assistant at CASA, supported by this grant.

(NASA-C_-]89520) I_A_ SO_T_/ARE A_.!ALY_i_

LIL3#A#Y Final Re#,ort (£o]orJdo Univ.) i5 pCSCL 09R

N92-16017

Unc|ds

G5/6] Oos_o_

https://ntrs.nasa.gov/search.jsp?R=19920007399 2018-05-07T12:37:17+00:00Z

IRAS/IDL functions created/modified

Most of the software listed below was produced over the last five years by re-searchers, students, staff or visitors at CASA other than proposal investigator andresearch assistant. An exception is the software to preprocess IRAS images fromskyflux data, which was developed by Gitta Domik. All other programs were mod-ified, documented and tested by C. Scott Merkle.

Allfunctionsarenow availablethroughASTRON.TLB, an astronomicalIDL li-

brary,supportedthrougha differentNASA grantand supervisedby Wayne Lands-man atGSFC.

Pro_ranls

IRAS DISPLAY Displays one selected band of IRAS skyfluxplate. Several display options are available.

Procedures Used by IRAS_DISPLAY

COLORBAR Displays color bar on the right edge of thedisplay.

CONT_HARD Creates file of contour plot of IRAS image thatcan be printed on a postscript printer.

CONT_OVER Overlays a contour plot of an image on theimage display.

Zooms a section of an image.

Converts a floating point image to a byte imagegiving the statistically best rain/max range.

Finds the Eli Dwek temperature from the ratioof two IRAS bands.

Draws the coordinate RA and DEC axes on the

screen corresponding to the appropriate plate.

CURS_BLOW

DISPL STREq_H

DWEK

IKASAXIS

2

L

IRASBHR

I1LASHDR

Obtains plate header information from thebinary .bhr file

Obtains plate header information from theASCII .hdr file.

IRAS_READ Obtains a floating point array of an IRASimage from disk.

IRAS_RE$_. #-Rese_ the graphics sys_m variables.

]RASRAXY

IRASXYRA

STRBLK

STRNAM

Obtains the sample anc_e number for a

o o. and a.dDEC.Obtains the RA and DEC in both decimal and

h,m,s for a given IRA S #ate no. and line andsample number.

Removes all the blanks from a string.

Removes aJt the characters that cannot be usedin a filena_e. :

Supplementary Programs for IRAS processing

AP_MASK Calculates the subarray used to determinethe contribution of eat pixel in a box arrayto a simulated circular aperture.(Used byIRAS FLUX).

BANDS Obtains floating point and calculates bytearrays of all the bands of one IRAS HCONimage.

BB_FLUX Gives the blackbody flux.

CONTAXIS Labels RA and DEC axis on a contour plotdrawn by CONT.

DECIMAL Converts from degrees to decimal.

3C',:t,._,N#.k PAGE IS

GF POOR QUALFI_

GS_IMAGE

HCONS

IRASCENTER

IRASLST

IRAS._STRETCH

IRAS_CURSOR

IRAS..FIND

]RAS_FLUX

IRAS_GS_QMS

RA_BLOWUP

STAR_PLOT

STRDEC

TMPR

QMS_CT

Scales an image according to a color table.

Obtains floating point and calculates byte

arrays of all IRAS HCONS of onewavelength(band).

Calculates the center RA and DEC for a given

IRAS plate.

Assembles header file from FITS headerinformation.

Linear stretching/compressing of floating point values

to byte values.

Obtains the RA and DEC for a selected

point on an IRAS plate.

Obtains the plate and tape information given

a specific RA and DEC.

Obtains RA, DEC, and flux value for a selectedpoint on an IRAS plate.

Creates an image file to be printed on a QMSprinter.

Gets a section of an image using RA and DECinput and zooms it.

Marks the star type on a contour plot giventhe RA, DEC and Star Type.

Converts a string array, where each elementhas 3 components (hr,min,sec), to a floatingpoint array.

Calculates the color temperature of an IRASimage.

Loads a color table that has the same scalingas IRAS_GS_QMS.

4

WINDOW TO_PS Reads a window from an X-window displaysaving it to an array and to a postscriptformatted file for later printing.

Preprocessing tools for IRAS skyflux plates

IRAS_FLATTEN Flatten the background of an IR S image.

Procedures used by IRAS_Flatten

PLANE Fits a plane through 4 points(least squaresfits)

HP Fits a hyperbolic paraboloid through 4 points.

IRAS_DESTRIPE Removes periodic stripes from the IRAS image.

Procedures used by IRAS Destripe

CAL_SLOPE

ADDPLATE_.3

ADDPLATE...2

ADD_BANDS

Estimates the frequency of stripes in IRA, Sskyflux image.

Estimates the slope of stripes in IRAS skyflux

images.

Merging and mosaicing routines

Adds or merges three heons of an IRAS plate

Adds or merges two boons of an IRAS plate

Reads the floating point and byte arrays of allthe bands of an addplate image.

5

PLATES Combines two IRAS plates that are next to eachother and have the same declination or radialascension.

Procedures used by PLATES

HORZ Combines two IRAS plates that are next to eachother and have the same declination.

IMGET

MINMAX2

Reads the floating point array of an IRAS

image from a .dat ftle.

Converts floating point image to byte non-statistically.

VERT • Combines two IRAS plates that are next to eachother and have the same RA.

Examples

The next pages show samples of ID_ fun cti-ons.

Publications describing efforts of this grant:

Domik, G., Brugel, E.W., Stencel, ILE., Vasudevart, S., Pang, J. 1990,Workstation based Preprocessing of IRAS Skyflux Images, Publications of theAstronomical Society of the Pacific, October 1990.

Domik, G., Brugel, E.W., Stencel, R.E., Vasudevan, S., Pang, I. 1990, Applica-tions of lRAS Preprocessing at the Workstation, 176th meeting of the AmericanAstronomical Society, BAAS Vol. 22, No. 2, 1990

Acknowledgements

Stephen Merkowitz, Jon Saken, Dr. Dave Van Buten and Dr. Michael Van Steen-berg were the original authors of many of the programs listed in this report; theiroriginal software was a core contribution to the IRAS/IDL library. Other softwarecontributions came from CASA's researchers, staff and graduate students.

6

List of Figures

Figure 1: Use of IR S_DISPLAY to display Skyflux Plate 28 with coordinategrid. Andromeda galaxy is to the lower right.

Figure 2: IRAS_DISPLAY offers optional annotations, such as contour lines.

Figure 3: Zooming up Andromeda galaxy.

Figure 4: Ratio images calculating the Eli Dwek temperature can be createdthrough the program DWEK.

Figure 5 (a): The original SkyfltLX Plate 75 (band 3) shows sensor deficiencies inneed of image restoration.

Figure 5 Co): Skyflux Plate 75, band 3, after flattening _ bT.,ATI'EN).4.

Figure 5 (c): Skyflux Plate 75, band 3, after flattening and destriping(IRAS_DESTRIPE).

Figure 6: Result of mosaicing several IRAS Skyflux Plates (PLATES):

77 76

101 100

In the center is Lambda Orionis. The color table from Figure 1 is used, after alcstatistical stretch on the original skyflux values.

Figure 7: To the left is HCON 3 (band 4) of plate 28. The missing scanlines visiblein the Andromeda region are f'dled out by data from HCON 1-2 in the right image(ADDPLATE_3). The scale at the bottom relates the pseudo color of the image tolow data values (blue) up to high data values (yellow).

7 OR,,:_iNALPAGE ISOF POOR QUALITY

Figure 1" Use of IRAS_DISPLAY to display Skyflux Plate 28 with coordinate

grid. Andromeda galaxy is to the lower fight. G,_:t,GiN.t'tLPAGE ISOF PO0_ QUAL_

i

C.RIOi_AL PAQE iS

OF POOR QUALITY

O_!Cf,_AL P;_CE _S

OF POOR QUALiTy'

¢/}

r./'j

.-=

°. _

_n 1_1I

g.

Figure 6: Result of mosaicing several IRAS Skyflux Plates (PLATES):

77 76

101 100 ORfC_;W_L p_ _oF PO0_ QU_L.!

In the center is Lambda Orionis. The color table from Figure 1 is used, after a lo

statistical stretch on the original skyflux values.

"t