| 1 |
rootdir='/eng/ssb/syn_pysyn/24jun_r487/stis_etc_cases/testspecphotlam/' |
| 2 |
files1=findfile(rootdir+'SpecSourcerateSpecCase*_cs_pysyn.fits') |
| 3 |
files2=findfile(rootdir+'SpecSourcerateSpecCase*_cs.fits') |
| 4 |
|
| 5 |
for i=0,n_elements(files1)-1 do begin |
| 6 |
|
| 7 |
data1=mrdfits(files1(i),1,head1) |
| 8 |
data2=mrdfits(files2(i),1,head2) |
| 9 |
|
| 10 |
plot,data1.wavelength,alog10(data1.flux),title=strmid(files1(i),61) |
| 11 |
plot,data2.wavelength,alog10(data2.flux),title=strmid(files2(i),61) |
| 12 |
plot,data1.wavelength,data1.flux/data2.flux, $ |
| 13 |
title=strmid(files1(i),61)+'/'+strmid(files2(i),61) |
| 14 |
plot,data1.wavelength,data1.flux/data2.flux, $ |
| 15 |
title=strmid(files1(i),61)+'/'+strmid(files2(i),61),yrange=[.9,1.1] |
| 16 |
endfor |
| 17 |
|
| 18 |
end |