Attached is the FQ table.<div><br></div><div>Also attached is a text file with the headers of each individual file produced my LINIMAGE.</div><div><br></div><div>I have put the final LINIMAGE output cube at</div><div>/home/ararat/AIPS/DA01/FITS/TEST.FQUBE.FITS</div>


<div><br></div><div>Note that commenting out the line you have noted made FQUBE die, so the final cube is of the previous execution of LINIMAGE.</div><div><br></div><div>By the way, is there a particular reason on why FQUBE is run at the end of the LINIMAGE procedure instead of MCUBE? All the "sub"-image-cubes made by LINIMAGE have the same frequency resolution and are of the same field. The data set originally had 1 IF x 512 channels, I ran MORIF to make 16 IF x 32 channel data set to benefit from LINIMAGE.</div>


<div><br></div><div>Thanks.</div><div>em</div><div><br></div><div><br></div><div><br></div><div><br>
<div><font face="courier new, monospace"> </font></div>
<br><br><div class="gmail_quote">On Thu, Jun 7, 2012 at 9:19 AM, Eric Greisen <span dir="ltr"><<a href="mailto:egreisen@nrao.edu" target="_blank">egreisen@nrao.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div><div>Emmanuel Momjian wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Below are:<br>
1) The RSPEC output when it cannot produce a spectrum<br>
2) The RSPEC inputs<br>
3) The FQ table where the FRQSEL entries of the first channels are marked as 0. Could this be the issue? (note that the first 5 channels are not flagged; they have images in the cube).<br>
<br>
<br>
<br>
In RSPEC, I get  (similar messages show up in ISPEC)<br>
<br>
RSPEC2: Task RSPEC  (release of 31DEC12) begins<br>
RSPEC2: DISK/SLOT  1    27 FQ REC  1 FQID POINT   0 OUTSIDE AXIS<br>
RSPEC2: FQID AXIS NOT CHANGED TO FREQUENCIES<br>
RSPEC2: Purports to die of UNNATURAL causes<br>
RSPEC2: evla         31DEC12 TST: Cpu=       0.0  Real=       0<br>
AIPS 2: Resumes<br>
<br>
The inputs I have in RSPEC are:<br>
AIPS 2: RSPEC : Task to plot spectrum of the rms of an image<br>
AIPS 2: Adverbs     Values                 Comments<br>
AIPS 2: ------------------------------<u></u>------------------------------<u></u>----<br>
AIPS 2: USERID        0                    User ID.  ignored<br>
AIPS 2: INNAME     'TEST'                  Image name (name)<br>
AIPS 2: INCLASS    'FQUBE'                 Image name (class)<br>
AIPS 2: INSEQ         1                    Image name (seq. #)<br>
AIPS 2: INDISK        1                    Disk drive #<br>
AIPS 2: BLC         231         324        Bottom left corner 0->use all<br>
AIPS 2:               1           1          (1,2) -> exclude area<br>
AIPS 2:               1           1           1<br>
AIPS 2: TRC         699         745        Top right corner 0 -> use all<br>
AIPS 2:             512           1          (1,2) -> exclude area<br>
AIPS 2:               1           1           1<br>
AIPS 2: OPTYPE     ' '                     'MEDI' median window<br>
AIPS 2:                                    'LOW' use tight limits in rms<br>
AIPS 2:                                       else use less tight limits<br>
AIPS 2: OPCODE     ' '                     '    ' => RMS<br>
AIPS 2:                                    'WEIT' => WEIGHT=1/(RMS**2)<br>
AIPS 2: DOOUTPUT     -1                    > 0 => write S/N data cube<br>
AIPS 2: OUTNAME    ' '                     Output name(name).<br>
AIPS 2: OUTCLASS   ' '                     Output name(class).<br>
AIPS 2: OUTSEQ        0                    Output name(seq. #).<br>
AIPS 2:                                      0 => highest unique<br>
AIPS 2: OUTDISK       1                    Output image disk drive #<br>
AIPS 2:                                      0 => highest with room<br>
AIPS 2: PIXRANGE      0           0        Range of intensities to plot<br>
AIPS 2: ZINC          1                    Increment on freq axis.<br>
AIPS 2:                                    < 0 => invert Z axis in plot<br>
AIPS 2: SMOOTH     *all 0                  Frequency smoothing function<br>
AIPS 2: LTYPE         3                    Type of labeling: 1 border,<br>
AIPS 2:                                    2 no ticks, 3 standard, 4 rel<br>
AIPS 2:                                    to center, 5 rel to subim cen<br>
AIPS 2:                                    6 pixels, 7-10 as 3-6 with<br>
AIPS 2:                                    only tick labels<br>
AIPS 2:                                    <0 -> no date/time<br>
AIPS 2: DOCENTER      1                    > 0 => plot with box-like<br>
AIPS 2:                                    lines, else plot line to<br>
AIPS 2:                                    points<br>
AIPS 2: DOTV          1                    > 0 Do plot on the TV, else<br>
AIPS 2:                                    make a plot file<br>
AIPS 2: GRCHAN        0                    Graphics channel 0 => 1.<br>
AIPS 2: DOPRINT       0                    > 0 => use the terminal, 0 =><br>
AIPS 2:                                    no output, < 0 => printer or<br>
AIPS 2:                                    file, > 72 => terminal width<br>
AIPS 2: OUTPRINT   ' '<br>
AIPS 2:                                    Printer disk file to save<br>
AIPS 2: DOSLICE       1                    > 0 => save as SLice file<br>
AIPS 2: XYRATIO       0                    Stretch the X axis wrt Y axis<br>
AIPS 2:                                    0 -> 1.33<br>
<br>
<br>
<br>
The FQ table has 0 values in the first few channels (these channels were flagged). The first 5 channels in the cube are not flagged.<br>
<br>
COL. NO.      1            2           3          4          5          6<br>
     ROW  FRQSEL     IF FREQ       CH WIDTH   TOTAL BAN  SIDEBAND   BANDCODE<br>
  NUMBER             HZ            HZ         HZ<br>
       1          0  6.013470-154  1.562E+04  1.562E+04          1<br>
       2          0  6.013469-154  1.356E-19  1.562E+04          1<br>
       3          0  3.125000D+04  1.356E-19  1.356E-19          1<br>
       4          0  4.687500D+04  1.562E+04  1.356E-19          1<br>
       5          0  6.250000D+04  1.562E+04  1.562E+04          1<br>
       6  538976288  7.812500D+04  1.562E+04  1.562E+04          1<br>
       7  538976288  9.375000D+04  1.562E+04  1.562E+04  538976288<br>
       8  538976288  1.093750D+05  1.562E+04  1.562E+04  538976288<br>
       9  538976288  1.250000D+05  1.562E+04  1.562E+04          1<br>
      10  538976288  1.406250D+05  1.562E+04  1.562E+04          1<br>
      11  538976288  1.562500D+05  1.562E+04  1.562E+04          1<br>
      <a href="tel:12%20%20538976288" value="+12538976288" target="_blank">12  538976288</a>  1.718750D+05  1.562E+04  1.562E+04          1<br>
</blockquote>
<br></div></div>
This FQ table is garbage and unusable so I am glad that the ISPEC and RSPEC reject it.  The issue is how did this arise - I suspect FQUBE of being blasted in some way.<br>
<br>
The problem is that the individual FLATNed cubes were zapped.<br>
<br>
Do the following<br>
<br>
cp $TST/RUN/LINIMAGE.001 $HOME<br>
edit $HOME/LINIMAGE.001 to put a $ sign in front of the line very near the end that says for inseq=cubeseq:in2seq; zap; end<br>
<br>
Then in aips say<br>
version = 'home'<br>
run linimage<br>
you should see this line commented out<br>
<br>
Then do LINIMAGE on your data<br>
<br>
Then send me the FQ table (more than 12 lines) and the headers of each of the FLATNed cubes and the final LINIMAGE output cube.<span><font color="#888888"><br>
<br>
Eric<br>
<br>
</font></span></blockquote></div><br>
</div>