<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1">Trying to run FARS after install 31DEC15 and just
running MNJ. Two problems</font><br>
<br>
1. <br>
>tget fars<br>
AIPS 1: CHARACTER 1 BAD IN<br>
AIPS 1: BAD CHARACTERS IN ADVERB INFILE<br>
AIPS 1: CHARACTER?<br>
>inp<br>
AIPS 1: FARS: Task to create Faraday rotation measure image<br>
AIPS 1: Adverbs Values Comments<br>
AIPS 1:
----------------------------------------------------------------<br>
AIPS 1: INNAME '2SIG+NOISB' First image name<br>
AIPS 1: INCLASS 'TRANS1' First image class<br>
AIPS 1: INSEQ 0 First image seq. #<br>
AIPS 1: INDISK 1 First image disk drive #<br>
AIPS 1: IN2NAME '2SIG+NOISB' Second image name<br>
AIPS 1: IN2CLASS 'TRANS2' Second image class<br>
AIPS 1: IN2SEQ 0 Second image seq. #<br>
AIPS 1: IN2DISK 1 Second image disk drive #<br>
AIPS 1: OUTNAME '2SIG+NOISB' First output image name<br>
AIPS 1: OUTSEQ 9.030E+11 First output image seq. #<br>
AIPS 1: ****** VALUE =************ EXCEEDS LIMIT 9999.0000<br>
AIPS 1: OUTDISK 1.358E-19 First output image disk
#<br>
AIPS 1: CHARACTER 1 BAD IN<br>
AIPS 1: BAD CHARACTERS IN ADVERB INFILE<br>
AIPS 1: CHARACTER?<br>
<br>
2. After doing restore 0 and setting all the inputs in FARS, then
run DOFARS. Following is <br>
a) input variables, then <br>
b) what happens when invoking DOFARS<br>
c) the DOFARS script itself<br>
<br>
a) ##############<br>
<br>
AIPS 1: FARS: Task to create Faraday rotation measure image<br>
AIPS 1: Adverbs Values Comments<br>
AIPS 1:
----------------------------------------------------------------<br>
AIPS 1: INNAME 'A2256_X4' First image name<br>
AIPS 1: INCLASS 'QFLATC' First image class<br>
AIPS 1: INSEQ 1 First image seq. #<br>
AIPS 1: INDISK 1 First image disk drive #<br>
AIPS 1: IN2NAME 'A2256_X4' Second image name<br>
AIPS 1: IN2CLASS 'UFLATC' Second image class<br>
AIPS 1: IN2SEQ 1 Second image seq. #<br>
AIPS 1: IN2DISK 1 Second image disk drive #<br>
AIPS 1: OUTNAME 'A2256_X4' First output image name<br>
AIPS 1: OUTSEQ 0 First output image seq. #<br>
AIPS 1: OUTDISK 1 First output image disk
#<br>
AIPS 1: INFILE *all ' ' Input file of weights<br>
AIPS 1: DOALIGN 1 Should images be
coincident?<br>
AIPS 1: (See HELP.)<br>
AIPS 1: BLC *all 0 Bottom left corner<br>
AIPS 1: TRC *all 0 Top right corner<br>
AIPS 1: See help for the 1st axis<br>
AIPS 1: (must be frequencies!!!)<br>
AIPS 1: APARM 400 10 Parameters for algorithm:<br>
AIPS 1: 0 1 1 number of pixels at<br>
AIPS 1: 2 0 half of the Fourier<br>
AIPS 1: 1 *rest 0 transform output<br>
AIPS 1: The whole number is<br>
AIPS 1: 2*APARM(1)+1<br>
AIPS 1: 2 cell size in 1/m^2<br>
AIPS 1: 0 =><br>
AIPS 1:
PI/(4*(Lmax^2-Lmin^2))<br>
AIPS 1: Lmax,Lmin-max,min
lambda<br>
AIPS 1: at the data<br>
AIPS 1: 3 0 => regular
output<br>
AIPS 1: 1 => output is
RMTF<br>
AIPS 1: 4 0=> CLEANed
Fourier<br>
AIPS 1: transform<br>
AIPS 1: 1=> unCLEANed
Fourier<br>
AIPS 1: transform<br>
AIPS 1: 5
0=>original(shifted back)<br>
AIPS 1: RE/IM are sent out<br>
AIPS 1: 1=>the shifted
RE/IM are<br>
AIPS 1: sent out<br>
AIPS 1: 2=>amplitude and
phase of<br>
AIPS 1: the data are sent
out<br>
AIPS 1: 6 is not used<br>
AIPS 1: 7 0=> convolve the
clean<br>
AIPS 1: components<br>
AIPS 1: 1=> no convolve<br>
AIPS 1: 8 0=> use the
Gaussian as<br>
AIPS 1: the convolve
function<br>
AIPS 1: ** press RETURN for more, enter Q or next line to quit print
**<br>
#<br>
AIPS 1: 1=> use the Re of
RMTF as<br>
AIPS 1: the convolve
function<br>
AIPS 1: 9 full width of
Gaussian<br>
AIPS 1: convolve function, at
0.5<br>
AIPS 1: level, in 1/m^2<br>
AIPS 1: 0 => fit to real
RMTF<br>
AIPS 1: 10 what send to output?<br>
AIPS 1: 0 => sum of CLEAN
and<br>
AIPS 1: residual<br>
AIPS 1: 1 => CLEAN result<br>
AIPS 1: 2 => residual<br>
AIPS 1: GAIN 0.1 Gain in the CLEAN<br>
AIPS 1: NITER 0 Maximum number of clean<br>
AIPS 1: components<br>
AIPS 1: FLUX 0 Minimum flux of clean<br>
AIPS 1: component (Jy)<br>
AIPS 1: DOHIST -1 -2 => copy 1st HI only<br>
AIPS 1: -3 => copy no HI files<br>
AIPS 1: PRTLEV 0 Number of Cleans to print<br>
<br>
b) ##############<br>
><br>
>dofars<br>
AIPS 1: STRING SIZE<br>
><br>
[No messages in Message window]<br>
c) ###############<br>
>list dofars<br>
AIPS 1: 1 PROC DOFARS<br>
AIPS 1: 2 $ defaults<br>
AIPS 1: 3 IF (OUTNAME=' ') THEN; OUTNAME = INNAME; END<br>
AIPS 1: 4 IF (APARM(5)>=1.5) THEN<br>
AIPS 1: 5 IF (OUTCLASS=' ') THEN; OUTCLASS = 'FARSam; end;<br>
AIPS 1: 6 ELSE<br>
AIPS 1: 7 IF (OUTCLASS=' ') THEN; OUTCLASS = 'FARSre; end;<br>
AIPS 1: 8 END;<br>
AIPS 1: 9 IF (OUTDISK=0) THEN; OUTDISK = INDISK; END<br>
AIPS 1: 10 FBLC = BLC(3); FTRC=TRC(3); BLC(3)=0; TRC(3)=0<br>
AIPS 1: 11 DOWINAIT=DOWAIT; DOWAIT=1<br>
AIPS 1: 12 IF (INFILE<>' ') THEN; FINFIL=' ';<br>
AIPS 1: 13 ELSE; FINFIL='FITS:DOFARS.WEIGHTS'; END<br>
AIPS 1: 14 VNUM = 33 - GETPOPSN; VPUT dofars<br>
AIPS 1: 15 $ rspec
weights<br>
AIPS 1: 16 IF (FINFIL<>' ') THEN;<br>
AIPS 1: 17 FILEZAP FINFIL<br>
AIPS 1: 18 DEFAULT rspec; VGET dofars; TASK 'RSPEC'<br>
AIPS 1: 19 BLC 0; TRC 0; OPCODE 'WEIT'; DOSLICE=-1; DOPRINT=-3;<br>
AIPS 1: 20 OUTPRINT=FINFIL; GO;<br>
AIPS 1: 21 END<br>
AIPS 1: 22 $ trans 1<br>
AIPS 1: 23 DEFAULT trans; VGET dofars; TASK 'TRANS'<br>
AIPS 1: 24 OUTNAME=INNAME; OUTCLASS='TRANS1'; OUTSEQ=0;<br>
AIPS 1: 25 OUTDISK=INDISK; TRANSCOD='312'; GO<br>
AIPS 1: 26 $ trans 2<br>
AIPS 1: 27 DEFAULT trans; VGET dofars; TASK 'TRANS'<br>
AIPS 1: 28 INNAME=IN2NAME; INCLASS=IN2CLASS; INSEQ=IN2SEQ;<br>
AIPS 1: 29 INDISK=IN2DISK; OUTNAME=INNAME; OUTCLASS='TRANS2';<br>
AIPS 1: 30 OUTSEQ=0; OUTDISK=INDISK; TRANSCOD='312'; GO<br>
AIPS 1: 31 $ fars<br>
AIPS 1: 32 DEFAULT fars; VGET dofars; TASK 'FARS'<br>
AIPS 1: 33 INCLASS='TRANS1'; IN2CLASS='TRANS2'; INSEQ=0; IN2SEQ=0;<br>
AIPS 1: 34 IF (INFILE=' ') THEN; INFILE=FINFIL; END<br>
AIPS 1: 35 IF (INFILE='1') THEN; INFILE=' '; END<br>
AIPS 1: 36 BLC=FBLC,0; TRC=FTRC,0; GO<br>
AIPS 1: 37 $ clean up<br>
AIPS 1: 38 ZAP; INNAME=IN2NAME; INCLASS=IN2CLASS; INSEQ=IN2SEQ;<br>
AIPS 1: 39 INDISK=IN2DISK; ZAP<br>
AIPS 1: 40 $ more trans<br>
AIPS 1: 41 TASK = 'TRANS'; INNAME=OUTNAME; INCLASS='FARSre<br>
AIPS 1: 42 INDISK=OUTDISK; INSEQ=OUTSEQ; BLC=0; TRC=0; TRANSC='231';<br>
AIPS 1: 43 IF (APARM(5)>=1.5) THEN; OUTCLASS='TRANam<br>
AIPS 1: 44 INCLASS='FARSam<br>
AIPS 1: 45 ELSE; OUTCLASS='TRANre<br>
AIPS 1: 46 END; GO<br>
AIPS 1: 47 INNAME=OUTNAME; INDISK=OUTDISK; INCLASS='FARSim<br>
AIPS 1: 48 INSEQ=OUTSEQ; OUTNAME=OUTNAME; OUTSEQ=OUTSEQ;<br>
AIPS 1: 49 OUTDISK=OUTDISK;<br>
AIPS 1: 50 IF (APARM(5)>=1.5) THEN; OUTCLASS='TRANph<br>
AIPS 1: 51 INCLASS='FARSph<br>
AIPS 1: 52 ELSE; OUTCLASS='TRANim<br>
AIPS 1: 53 END; GO<br>
AIPS 1: 54 $ clean return<br>
AIPS 1: 55 DOWAIT=DOWINAIT; VGET dofars; BLC(3)=FBLC; TRC(3)=FTRC<br>
AIPS 1: 56 RETURN<br>
<pre class="moz-signature" cols="72">--
Lawrence Rudnick
Distinguished Teaching Professor
Minnesota Institute for Astrophysics
School of Physics and Astronomy
University of Minnesota
<a class="moz-txt-link-freetext" href="http://umn.edu/~larry">http://umn.edu/~larry</a> <a class="moz-txt-link-abbreviated" href="mailto:larry@umn.edu">larry@umn.edu</a></pre>
</body>
</html>