Changeset 1174


Ignore:
Timestamp:
08/23/06 11:11:20 (18 years ago)
Author:
mar637
Message:

fixed incorrect doppler shift.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r1169 r1174  
    434434                restf = linecat.get_frequency(row)/1000.0
    435435                c = 299792.458
    436                 freq = restf*(doppler+c)/c
     436                freq = restf*(1.0-doppler/c)
    437437                if lims[0] < freq < lims[1]:
    438438                    if location is None:
Note: See TracChangeset for help on using the changeset viewer.