SC/20.2

Starlink Project
Starlink Cookbook 20.2

H. S. Thomas, Malcolm J. Currie, & H. A. L. Parsons

2018 April 9

Copyright © 2015-2018 Science and Technology Facilities Council,
& East Asian Observatory


The Heterodyne Data Reduction Cookbook

1.2

 



Abstract

This cookbook provides a short introduction to Starlink facilities, especially Smurf—the Sub-Millimetre User Reduction Facility—and Kappa—the Kernel Application Package—for reducing, displaying, and analysing ACSIS data. In particular, this cookbook illustrates the various steps required to reduce the data; and gives an overview of the ORAC-DR pipeline which carries out many of these steps using a single command. Specialised pipeline recipes are discussed. The cookbook also introduces cube analysis with the Gaia display tool, and spectral analysis with Splat.

Contents

Acronyms
1 Introduction
 1.1 This cookbook
 1.2 Before you start: computing resources
 1.3 Before you start: Starlink software
 1.4 Options for Reducing your Data
2 Good to know: Starlink
 2.1 File format
 2.2 How to find the current parameter values
  2.2.1 Extracting a value for scripting
 2.3 How can I view the metadata?
 2.4 What has already been done to the data?
 2.5 How to examine, process or extract a subset of your data
 2.6 How to get help
3 JCMT Heterodyne Observing
 3.1 Spectral-line Observing
 3.2 Heterodyne Instruments
  3.2.1 RxA Frontend
  3.2.2 HARP Frontend
  3.2.3 ACSIS Backend
 3.3 Observing Modes
  3.3.1 On-source
  3.3.2 Reference
  3.3.3 Hybrid
4 Raw ACSIS Data
 4.1 Data Format
 4.2 Visualising raw data
 4.3 Identifying and Masking Bad Data
5 The ACSIS Pipeline
 5.1 Recipes and primitives
 5.2 The workflow
6 Running the pipeline
 6.1 Checking and changing the science recipe
 6.2 Setting recipe parameters (optional)
  6.2.1 Setting recipe parameters by object name
  6.2.2 Setting recipe parameters by Orac-dr internal header
 6.3 Setting quality-assurance parameters (optional)
 6.4 Specifying bad receptors (recommended)
 6.5 Starting the pipeline
 6.6 Pipeline output
  6.6.1 Why have multiple reduced files been generated?
7 Regridding your Data
 7.1 Running Makecube
  7.1.1 Reducing multiple observations
 7.2 Makecube Options
  7.2.1 Specifying spectral bounds
  7.2.2 Masking receptors
  7.2.3 Including/excluding receptors
  7.2.4 Defining an output grid
  7.2.5 Data regridding options
  7.2.6 Generating a variance map
  7.2.7 Sparse grid
  7.2.8 Creating a catalogue of receptor positions
  7.2.9 Tile dimensions
8 Analysing your Cube
 8.1 Smoothing your data
 8.2 Removing a baseline
  8.2.1 Advanced method
  8.2.2 What about findback?
 8.3 Collapsing your map
  8.3.1 Advanced method
  8.3.2 Moments Maps
 8.4 Temperature scales
 8.5 Changing the pixel size
 8.6 Mosaicking cubes
 8.7 Cropping your map
  8.7.1 Supplying a template
 8.8 Filling holes in your map
 8.9 Checking the noise
  8.9.1 Visualising the noise
  8.9.2 HARP Flatfielding
9 Advanced Analysis
 9.1 Changing co-ordinate frames
 9.2 Hybrid Data
 9.3 Position-velocity diagram
 9.4 Creating channel maps
 9.5 Clump finding
 9.6 Using SPLAT to identify telluric emission
10 Using GAIA
 10.1 Removing a baseline with GAIA
 10.2 Creating channel maps with GAIA
 10.3 Contouring with GAIA
 10.4 Overlaying clumps and catalogues with GAIA
 10.5 Displaying average spectrum with GAIA
 10.6 Collapsing your cube with GAIA
 10.7 Three-dimensional visualisation with GAIA
 10.8 Sending spectra to SPLAT
11 Using SPLAT
 11.1 Opening a spectrum in SPLAT
 11.2 Display synopsis of spectrum
 11.3 Changing units of a spectrum in SPLAT
 11.4 Cropping a spectrum in SPLAT
 11.5 Rebinning a spectrum in SPLAT
 11.6 Estimating the noise in a spectrum using SPLAT
 11.7 Fitting a line in a spectrum using SPLAT
12 Getting your data from CADC
 References
A PICARD
 A.1 CREATE_MOMENTS_MAP
 A.2 MOSAIC_JCMT_IMAGES
 A.3 Running PICARD recipes
B Converting file formats
 B.1 Converting a FITS file to NDF
 B.2 Converting an NDF file to FITS
C Scripting your reduction
D Regridding versus resampling
E Clump-finding Algorithms
F Viewing your data with KAPPA
 F.1 Setting up xwindows
 F.2 Format axes
 F.3 Plotting a two-dimensional image
 F.4 Plotting spectra
 F.5 Plotting a grid of spectra
 F.6 Plotting two images side by side
 F.7 Selecting a different graphics device
G Classified Recipe Parameters
H Quality Assurance Parameters

Acronyms


ACSIS Auto-Correlation Spectrometer and Imaging System
ARD ASCII Region Definition
CADC Canadian Astronomy Data Centre
CSO Caltech Submillimetre Observatory
FITS Flexible Image Transport System
FWHM Full-Width at Half-Maximum
GAIA Graphical Astronomy and Image Analysis Tool
HDS Hierarchical Data System
JCMT James Clerk Maxwell Telescope
LSB Lower sideband
MSB Minimum Schedulable Block
NDF Extensible N-Dimensional Data Format
HARP Heterodyne Array Receiver Programme
QA Quality Assurance
RxA Receiver A
SAMP Simple Application Messaging Protocol
SDF Starlink Data File
S/N Signal-to-Noise ratio
USB Upper sideband
WCS World Co-ordinate System
WVM Water Vapour radioMeter

Bibliography

[1]   Berry D. S., 2013, CUPID. Version 2.0, Starlink User Note 255

[2]   Berry D. S., 2015, FellWalker—a clump-identification algorithm, Astronomy and Computing, 10, 22 (DOI:10.1016/j.ascom.2014.11.004)

[3]   Buckle, J. V., Hills, R. E., Smith, H., et al., 2009, HARP/ACSIS: a submillimetre spectral imaging system on the James Clerk Maxwell Telescope, MNRAS, 399, 1026

[4]   Cavanagh B., Jenness T., Economou F., Currie M. J., 2008, The ORAC-DR data reduction pipeline, Astron. Nactr., 329, 295 (DOI:10.1002/asna.200710944)

[5]   Chapin E. L., et al., 2013, SMURF – Sub-Millimetre User Reduction Facility, Starlink User Note 258

[6]   Currie M. J., Privett G. J., Chipperfield A. J., Berry D. S. and Davenhall A.C., 2013, CONVERT – A Format-conversion Package, Starlink User Note 55

[7]   Currie M. J., Wallace P. T., Warren-Smith R. F., 1989, Starlink Standard Data Structures, Starlink General Paper 38.2

[8]   Currie M. J., Berry D. S, 2013, KAPPA – Kernel Application Package, Starlink User Note 95

[9]   Curtis E. I., Richer J. S. and Buckle J. V. 2010, A submillimetre survey of the kinematics of the Perseus molecular cloud – I. Data, MNRAS, 401, 455 (DOI:10.1111/j.1365-2966.2009.15658.x)

[10]   Draper P. W., Gray N., Berry D. S., Taylor M., 2012, GAIA – Graphical Astronomy and Image Analysis Tool, Starlink User Note 214

[11]   Draper P. W., Taylor M. and Allan A., 2011, CCDPACK – CCD data reduction package, Starlink User Note 139

[12]   Gibb A. G., Jenness T., Economou F., 2012, PICARD — a PIpeline for Combining and Analyzing Reduced Data, Starlink User Note 265

[13]   Jenness T. & Economou F., 2015, ORAC-DR: A generic data reduction pipeline infrastructure, Astronomy and Computing, 9, 40 (DOI:10.1016/j.ascom.2014.10.005)

[14]   Jenness T., Currie M. J., Tilanus R., Cavanagh B., Berry D. S., Leech J., Rizzi L., 2015, Automated reduction of sub-millimetre single-dish heterodyne data from the James Clerk Maxwell Telescope using ORAC-DR, MNRAS, 453, 73 (DOI:10.1093/mnras/stv1545)