next up previous
Next: Polynomial baselines
Up: Getting To Know Your Baselines
Previous: Getting To Know Your Baselines

Linear baselines

 To take a linear baseline out of your spectrum use the command remove-linear-baseline. For example, I want to remove a linear baseline from the current spectrum. The following command will do it:

$\gt\!\gt$ r-l-b

If you are in interactive mode the screen will display the current spectrum with the first of the previously chosen boxes (if any) outlined in dot-dashed lines. If you are using Xwindows click first on the title bar at the top of the plot window - it will be labelled ``PGPLOT Window 1''; depending on how your system is set up clicking elsewhere in the window may give erroneous results. Then either

To see the end result, all you need to do now is type `n'. Remember, to get out of the interactive mode, type `e' with the cursor anywhere inside the plot window. If you want to leave the interactive mode altogther use the command

$\gt\!\gt$ s-i n

In non-interactive mode the following exchange is typical. The result in this particular instance is shown in Figure [*]. Remember, EOF is Control-d.

 >> r-l-b 
 Doing R-L-B for quadrant/sub-band #   1
   2 baseline regions currently defined
  Type intervals, one at a time, EOF to finish
 Current units are km/s  
 
 # [   46.00,   56.03] 30 50
 # [   80.00,   90.02] 80 100
 >>

 \begin{figure}
% latex2html id marker 1223

\centering

\includegraphics [angle=...
 ...an
(line-free) regions of the spectrum.} }\end{minipage}\end{center}\end{figure}


next up previous
Next: Polynomial baselines
Up: Getting To Know Your Baselines
Previous: Getting To Know Your Baselines

Specx Cookbook Reduction of millimetre wave data
Starlink Cookbook 8
Henry Matthews, Tim Jenness
1st March 1997
E-mail:ussc@star.rl.ac.uk

Copyright © 2005 Council for the Central Laboratory of the Research Councils