[daip] RESTFREQ.HLP

Leonia Kogan lkogan at aoc.nrao.edu
Thu Dec 12 17:44:33 EST 2002


Gustaff,

You are right. There is a mistake at the example given at 
the RESTREQ.HLP file.

But this mistake is at the different term (at the second one)

Indeed 
1.420405752E6 = (1.4204 + 0.000005752) * 1.0E6 = 1.4204E6 + 5.752
                                                 ^^^^^^^^^^^^^^^^
The RESTREQ.HLP gives 1.4204E6 5752 instead of correct 1.4204E6 5.752

Leonia


----- Begin Included Message -----

>From daip-admin at donar.cv.nrao.edu Thu Dec 12 14:47 MST 2002
From: Gustaaf Van Moorsel <gvanmoor at cv3.cv.nrao.edu>
Reply-To: gvanmoor at cv3.cv.nrao.edu
Organization: NRAO
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020605
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: daip at cv3.cv.nrao.edu
Content-Transfer-Encoding: 7bit
X-MailScanner: Found to be clean
Subject: [daip] RESTFREQ.HLP
Sender: daip-admin at donar.cv.nrao.edu
X-BeenThere: daip at listmgr.cv.nrao.edu
X-Mailman-Version: 2.0.8
Precedence: bulk
List-Help: <mailto:daip-request at listmgr.cv.nrao.edu?subject=help>
List-Post: <mailto:daip at listmgr.cv.nrao.edu>
List-Subscribe: <http://listmgr.cv.nrao.edu/mailman/listinfo/daip>,
	<mailto:daip-request at listmgr.cv.nrao.edu?subject=subscribe>
List-Id: This is the designated AIP list for AIPS support. <daip.listmgr.cv.nrao.edu>
List-Unsubscribe: <http://listmgr.cv.nrao.edu/mailman/listinfo/daip>,
	<mailto:daip-request at listmgr.cv.nrao.edu?subject=unsubscribe>
List-Archive: <http://listmgr.cv.nrao.edu/pipermail/daip/>
Date: Thu, 12 Dec 2002 14:46:28 -0700
X-Lines: 28
Status: RO

Dear designated AIP,

When I copied the values in the RESTFREQ help file to
specify the HI line I got a wrong result. The reason is
that in RESTREQ.HLP the first element in the array is in
terms of E6 instead of E9.

See:

Use:  To specify the spectral-line rest frequency in Hertz.
       RESTFREQ is an array to allow greater precision in the
       specified value.  The rest frequency is taken to be
       RESTFREQ(1) + RESTFREQ(2) with both values converted to
       double precision before adding.  For example, the
=>    frequency 1.420405752E6 is too precise for a single
=>    adverb.  However, RESTFREQ = 1.4204E6, 5752. will convey
       the desired value correctly.  NOTE, if RESTFREQ(1) =
       RESTFREQ(2), then the rest frequency is taken to be just
       RESTFREQ(1).

I wonder how long this has been there ...

Gustaaf

_______________________________________________
Daip mailing list
Daip at listmgr.cv.nrao.edu
http://listmgr.cv.nrao.edu/mailman/listinfo/daip


----- End Included Message -----




More information about the Daip mailing list