rvsao. eqwidth Examples

Example 1. H-alpha in galaxy spectra shifted to zero velocity

eqwidth test.ms.fits specnum="1-10" torest=no
Output file name (STDOUT): 
Bandpass file (ha.bands): 

# EQWIDTH: NOAO/IRAF V2.12.2a-EXPORT mink@xena Wed 16:13:42 19-Jan-2005
#   bands = ha.bands, norm = yes, mag = no
#           band     filter wavelength      width
#   H-alpha_flux       none      6563.        20.
# blue_continuum       none      6450.       100.
# red_continnuum       none      6650.        30.
#
#           spectrum      band      flux    band        flux     index   eqwidth
test.ms.fits[*,1](1)   H-alpha   104.287    cont      50.346    2.0714  -21.4279
test.ms.fits[*,2](2)   H-alpha   130.761    cont     39.6871   3.29481  -45.8961
test.ms.fits[*,3](3)   H-alpha   136.324    cont     46.3526   2.94103  -38.8206
test.ms.fits[*,4](4)   H-alpha   41.4446    cont     22.6819   1.82721  -16.5442
test.ms.fits[*,5](5)   H-alpha   33.5744    cont     31.5486   1.06421  -1.28425
test.ms.fits[*,6](6)   H-alpha   58.4989    cont      54.744   1.06859  -1.37181
test.ms.fits[*,7](7)   H-alpha   47.4394    cont     16.0033   2.96435   -39.287
test.ms.fits[*,8](8)   H-alpha   49.1456    cont     56.5048  0.869761   2.60478
test.ms.fits[*,9](9)   H-alpha   35.2606    cont     45.0047  0.783487   4.33027
test.ms.fits[*,10](10) H-alpha   59.2868    cont     52.4754    1.1298  -2.59603
compare to output from IRAF onedspec.sbands:
# SBANDS: NOAO/IRAF V2.12.2a-EXPORT mink@xena Fri 17:00:04 14-Jan-2005
#   bands = ha.bands, norm = yes, mag = no
#       band     filter wavelength      width
# H-alpha flux       none      6563.        20.
# blue continuum       none      6450.       100.
# red continnuum       none      6650.        30.
#
#           spectrum      band      flux    band        flux     index   eqwidth
test.ms.fits[*,1](1)   H-alpha   104.287    cont      50.346    2.0714  -21.4279
test.ms.fits[*,2](2)   H-alpha   130.761    cont     39.6871   3.29481  -45.8961
test.ms.fits[*,3](3)   H-alpha   136.324    cont     46.3526   2.94103  -38.8206
test.ms.fits[*,4](4)   H-alpha   41.4446    cont     22.6819   1.82721  -16.5442
test.ms.fits[*,5](5)   H-alpha   33.5744    cont     31.5486   1.06421  -1.28425
test.ms.fits[*,6](6)   H-alpha   58.4989    cont      54.744   1.06859  -1.37181
test.ms.fits[*,7](7)   H-alpha   47.4394    cont     16.0033   2.96435   -39.287
test.ms.fits[*,8](8)   H-alpha   49.1456    cont     56.5048  0.869761   2.60478
test.ms.fits[*,9](9)   H-alpha   35.2606    cont     45.0047  0.783487   4.33027
test.ms.fits[*,10](10) H-alpha   59.2868    cont     52.4754    1.1298  -2.59603

Example 1. H-alpha in galaxy spectra at observed redshifts

eqwidth @test10 specnum="1" torest=yes
Output file name (STDOUT): 
Bandpass file (ha.bands): 

# EQWIDTH: NOAO/IRAF V2.12.2a-EXPORT mink@xena Wed 16:13:26 19-Jan-2005
#   bands = ha.bands, norm = yes, mag = no torest = yes
#           band     filter wavelength      width
#   H-alpha_flux       none      6563.        20.
# blue_continuum       none      6450.       100.
# red_continnuum       none      6650.        30.
#
#                                           spectrum    band      flux    band        flux     index   eqwidth   1+z  
2004.0413.20_bg_1/001.F2.20.bg_1_2619.ms.fits[*,1](1) H-alpha  104.267    cont     50.3723   2.06992  -21.3984 1.15071
2004.0413.20_bg_1/002.F2.20.bg_1_1003.ms.fits[*,1](1) H-alpha  130.697    cont     39.6666    3.2949  -45.8979 1.24071
2004.0413.20_bg_1/003.F2.20.bg_1_2783.ms.fits[*,1](1) H-alpha  136.349    cont     46.3978    2.9387   -38.774 1.12919
2004.0413.20_bg_1/004.F2.20.bg_1_2482.ms.fits[*,1](1) H-alpha  41.4075    cont     22.6606    1.8273  -16.5459 1.12643
2004.0413.20_bg_1/005.F2.20.bg_1_2826.ms.fits[*,1](1) H-alpha   33.585    cont     31.5304   1.06516  -1.30321 1.30431
2004.0413.20_bg_1/006.F2.20.bg_1_2559.ms.fits[*,1](1) H-alpha  58.4938    cont     54.7048   1.06926  -1.38526 0.94649
2004.0413.20_bg_1/007.F2.20.bg_1_2585.ms.fits[*,1](1) H-alpha  47.4761    cont     16.0101   2.96539  -39.3078 1.27284
2004.0413.20_bg_1/008.F2.20.bg_1_2439.ms.fits[*,1](1) H-alpha  49.1926    cont     56.5069  0.870558   2.58884 1.21163
2004.0413.20_bg_1/009.F2.20.bg_1_2411.ms.fits[*,1](1) H-alpha  35.2172    cont     45.0136  0.782368   4.35265 1.29571
2004.0413.20_bg_1/010.F2.20.bg_1_2384.ms.fits[*,1](1) H-alpha  59.3069    cont     52.4427   1.13089  -2.61779 0.94662