-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsmurf_paper.tex
3115 lines (2835 loc) · 166 KB
/
smurf_paper.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%------------------------------------------------------------------------------
% SMURF Paper
%------------------------------------------------------------------------------
\pdfoutput=1
\documentclass[useAMS,usenatbib,nofootinbib]{mn2e}
% --- Uncomment following block for use with pdflatex and pdf images ----------
%% Recommended by MN for handling hyperlinks
\usepackage[pdftex,pdfpagemode={UseOutlines},bookmarks,bookmarksopen,colorlinks,linkcolor={blue},citecolor={green},urlcolor={red}]{hyperref}
\usepackage[pdftex]{graphicx}
% -----------------------------------------------------------------------------
% --- Uncomment following block for latex and postscript images ---------------
%% Recommended by MN for handling hyperlinks - PS version
%\usepackage[bookmarks,bookmarksopen,colorlinks,linkcolor={blue},citecolor={green},urlcolor={red}]{hyperref}
% -----------------------------------------------------------------------------
\usepackage{amsmath}
\usepackage{url}
\usepackage{natbib}
\usepackage{rotating}
% --- Some user defined macros ------------------------------------------------
% journals
\newcommand{\ao}{AO}
\newcommand{\apj}{ApJ}
\newcommand{\apjl}{ApJL}
\newcommand{\apjs}{ApJS}
\newcommand{\aaps}{A$\&$AS}
\newcommand{\aap}{A$\&$A}
\newcommand{\aapr}{A$\&$AR}
\newcommand{\mnras}{MNRAS}
\newcommand{\aj}{A J}
\newcommand{\araa}{\rm ARA\&A}
\newcommand{\nat}{Nat}
\newcommand{\pasj}{PASJ}
\newcommand{\pasp}{PASP}
\newcommand{\prd}{PhRvD}
\newcommand{\ASP}{ASP Conf.\ Ser.~}
\newcommand{\CASP}{\rm Comm. Astrophys. Space Phys.}
\newcommand{\astroph}{\rm astro-ph/}
\newcommand{\spie}{Proc.\ SPIE~}
% common acronyms etc.
\newcommand{\snr}{S/N}
\newcommand{\scuba}{SCUBA-2}
\newcommand{\rms}{rms}
% these are approximately less-than and greater-than symbols
\def\lsim{\mathrel{\lower2.5pt\vbox{\lineskip=0pt\baselineskip=0pt
\hbox{$<$}\hbox{$\sim$}}}}
\def\gsim{\mathrel{\lower2.5pt\vbox{\lineskip=0pt\baselineskip=0pt
\hbox{$>$}\hbox{$\sim$}}}}
% sinc function
\def\sinc{\mathrm{sinc}}
% how are model names displayed
\newcommand{\model}[1]{\texttt{#1}}
% ----------------------------------------------------------------------------
\title[\scuba: iterative map-making with SMURF]{\scuba: iterative map-making
with the Sub-Millimetre User Reduction Facility}
\author[Edward~L.~Chapin~et~al.]{
\parbox[t]{\textwidth}{
Edward~L.~Chapin$^{1,2}$\thanks{E-mail:[email protected],
Present address: XMM SOC, ESAC, Apartado 78, 28691 Villanueva de
la Ca\~nada, Madrid, Spain},
David~S.~Berry$^{2}$,
Andrew~G.~Gibb$^{1}$,
Tim~Jenness$^{2}$,
Douglas~Scott$^{1}$,
Remo~P.~J.~Tilanus$^{2,3}$,
Frossie~Economou$^2$\thanks{Present address: National Optical
Astronomy Observatory, 950 N.\ Cherry Avenue, Tucson, AZ 85719,
USA},
Wayne ~S.~Holland$^{4,5}$
}
\\
\\
$^{1}$Dept. of Physics \& Astronomy, University of British Columbia,
6224 Agricultural Road, Vancouver, B.C. V6T 1Z1, Canada\\
$^{2}$JointAstronomy Centre, 660 N. A`oh\={o}k\={u} Place, University
Park, Hilo, Hawaii 96720, USA\\
$^{3}$Netherlands Organisation for Scientific Research,
Laan van Nieuw Oost-Indie 300, NL-2509 AC The Hague, The Netherlands\\
$^{4}$UK Astronomy Technology Centre, Royal Observatory, Blackford
Hill, Edinburgh EH9 3HJ\\
$^{5}$Institute for Astronomy, University of Edinburgh, Royal
Observatory, Blackford Hill Edinburgh, EH9 3HJ}
\begin{document}
\label{firstpage}
\maketitle
\begin{abstract}
The Submillimetre Common User Bolometer Array 2 (\scuba) is an
instrument operating on the 15-m James Clerk Maxwell Telescope,
nominally consisting of 5120 bolometers in each of two simultaneous
imaging bands centred over 450 and 850\,\micron. The camera is
operated by scanning across the sky and recording data at a rate of
200\,Hz. As the largest of a new generation of multiplexed kilopixel
bolometer cameras operating in the (sub)millimetre, \scuba\ data
analysis represents a significant challenge. We describe the
production of maps using the Sub-Millimetre User Reduction Facility
(SMURF) in which we have adopted a fast, iterative approach to
map-making that enables data reduction on single, modern, high-end
desktop computers, with execution times that are typically shorter
than the observing times. SMURF is used in an automated setting,
both at the telescope for real-time feedback to observers, as well
as for the production of science products for the JCMT Science
Archive at the Canadian Astronomy Data Centre. Three detailed case
studies are used to: (i) explore convergence properties of the
map-maker using simple prior constraints (Uranus -- a point source);
(ii) achieve the white-noise limit for faint point-source studies
(extragalactic blank-field survey of the Lockman Hole); and (iii)
demonstrate that our strategy is capable of recovering angular
scales comparable to the size of the array footprint (approximately
5\,arcmin) for bright extended sources (star-forming region M17).
\end{abstract}
\begin{keywords}
methods: data analysis, techniques: image processing, submillimetre:
general, methods: observational
\end{keywords}
%------------------------------------------------------------------------------
\section{Introduction}
\label{sec:intro}
%------------------------------------------------------------------------------
The Submillimetre Common User Bolometer Array 2
\citep[\scuba,][]{holland2013} is a new instrument for the 15-m James
Clerk Maxwell Telescope (JCMT) on Mauna Kea, Hawai'i. The camera
simultaneously images the sky in two broad bands centred over 450 and
850\,\micron, with approximately 7.5 and 14.5\,arcsec full-width at
half-maximum (FWHM) point spread functions (PSFs). The focal planes at
each wavelength are populated with 4 rectangular subarrays, consisting
of $40 \times 32$ bolometers each, and together subtend a nearly
7\,arcmin $\times$ 7\,arcmin footprint on the sky (excluding gaps, the
continuous solid angle is about 43\,arcmin$^{2}$ per focal plane).
This paper describes the properties of \scuba\ data that are relevant
for producing maps of the imaging data, and the Submillimetre User
Reduction Facility, SMURF, a software package for performing the
reduction written using the Starlink Software Environment
\citep{1993ASPC...52..229W,2009ASPC..411..418J}. The details of the
instrument design, performance, and calibration are given in two
companion papers: \citet{holland2013} and \citet{dempsey2013}.
Over the last twenty years, observations in the submillimetre band
(defined here to be 200--1200\,\micron) have helped revolutionise
several important areas of astrophysics, including: discovering
through blind surveys a class of massive dusty star-forming galaxies
in the early ($z>2$) Universe, now referred to as submillimetre
galaxies, or SMGs; the characterisation of the early stages of
star-formation by identifying the dense, cold regions in molecular
clouds where stars may eventually form; and identifying debris disks
around nearby stars, helping us understand the early stages of planet
formation. With $10,240$ nominal detectors \citep[of which $\sim$70\%
work and are typically useful,][]{holland2013}, \scuba\ is presently
the largest of a new generation of multiplexed kilopixel
(sub)millimetre bolometer cameras, which also includes the cameras for
the South Pole Telescope \citep[SPT,][]{carlstrom2011} and the Atacama
Cosmology Telescope \citep[ACT,][]{swetz2011}, both dedicated
experiments for studying anisotropies in the Cosmic Microwave
Background (CMB) using similar technology, the latter of which uses the
same time-domain multiplexed readout electronics as \scuba\
\citep{battistelli2008}.
Submillimetre imaging cameras generally maximise sensitivity using
bolometers, rather than coherent detectors, which are limited by white
photon and phonon noise from the instrument and ambient
backgrounds. The low-frequency noise, however, is typically dominated
by sources which produce slow variations in the background (e.g.,
thermal variations within the cryostat, and the atmosphere for
ground-based cameras), and drifts in the readout electronics. Such
noise has a power spectrum $\propto 1/f^\alpha$ ($\alpha>0$), and the
frequency at which it is comparable to the white noise level is called
the ``$1/f$ knee''. Since the low-frequency noise is largely
correlated between all, or subsets, of the bolometers in time, it can
be suppressed during map-making, since astronomical signals have the
distinct property that they are fixed in a sky reference frame
(assuming they are not time-varying). If successful, the noise in the
resulting map is said to be ``white noise limited'', meaning that it
is uncorrelated spatially, and has an amplitude that scales as the
$\mathrm{NEFD}/\sqrt{t}$, where the NEFD is the noise-equivalent
flux-density (the white noise level of a bolometer in 1\,s of
integration), and $t$ is the amount of integration time in a map
pixel.
There are numerous ways to attack this map-making problem, both in
terms of the data-collection method, and processing. The two most
important principles to follow in terms of scan strategy are: (i) to
modulate the astronomical signals of interest in such a way that they
appear in the lowest-noise regions of the bolometer noise power
spectrum, i.e., above the $1/f$ knee; and (ii) to provide good
``cross-linking'', in which each portion of the map is scanned at a
range of position angles, again, to help distinguish time-varying
noise features from fixed astronomical sources. In the case of \scuba,
(i) is achieved through fast-scanning of the entire telescope (up to
600\,arcsec\,sec$^{-1}$), such that significant drift in the
bolometers due to low-frequency noise occurs more slowly than the
crossing times for the astronomical scales of interest; and (ii) by
offering scan patterns that cross the sky at a wide range of position
angles. Such methods are now used by virtually all existing
ground-based submillimetre cameras
\citep[e.g.,][]{glenn1998,weferling2002,wilson2008,kovacs2008b}, in
preference to ``chopping'' methods (where the secondary is moved
quickly to modulate the signal) that were more appropriate for older
instruments that had poorer low-frequency noise performance, and were
only sensitive to modest angular scales. We note that under some
circumstances cross-linking may not be essential. For example, SPT,
which was designed to measure CMB anisotropies, scans entirely in
azimuth \citep{schaffer2011}. While this strategy limits its ability
to recover large angular scales transverse to the scan direction, the
anisotropic filtering in its maps can be accounted for during analysis
to achieve SPT's focussed objectives \citep[in contrast, the similar
ACT experiment uses cross-linking to improve its response to
large-angular scales,][]{das2011}. This approach is less practical as
a general solution for \scuba, however, which must serve a broader
range of scientific interests.
There are three general styles of map-making that are relevant to
reducing bolometer data in the literature. The simplest ``direct
methods'' involve some basic processing of the data to remove as much
noise contamination as possible, (e.g., using baseline removal and
other simple filters), and then re-gridding these cleaned data into a
map. Such was the basic recipe for the reduction of chopped data from
SCUBA-2's predecessor SCUBA
\citep{1998ASPC..145..216J,2000ASPC..216..559J}, and MAMBO
\citep[e.g.,][]{omont2001}, another camera from the same generation. A
more recent example is the analysis of SPT data
\citep{schaffer2011}. Generally speaking, such methods are fast,
although depending on the science goals and noise properties of the
data, they may not achieve the best noise performance on the angular
scales of interest. A method for reducing data in fields of faint
point sources with Bolocam \citep[e.g.,][]{laurent2005}, and its
younger sibling the Aztronomical Thermal Emission Camera \citep[AzTEC,
e.g.,][]{scott2008}, is principal component analysis (PCA) cleaning. A
statistical ``black-box'' removes the most correlated components of
the bolometer signals, enabling the detection of point-sources close
to the theoretical white-noise limits of the detectors, with
reasonable computation times when small numbers of bolometers are
involved (hundreds rather than thousands of detectors). However, PCA
cleaning is not a good solution for producing maps of extended
structures, since such sources produce correlated signals amongst many
detectors, and are removed by this procedure \citep[an exception is
the iterative PCA approach of][]{aguirre2011}. Furthermore, in the
case of \scuba, performing PCA on even a single subarray (typically
$\sim$900 detectors) can be prohibitively slow.
The best existing map-making strategies for recovering information on
all angular scales are maximum likelihood techniques, in which the
time-series data are expressed as a sampling of the ``true'' map of
the sky plus noise, and then the equation is inverted to estimate the
map as some weighted linear combination of the data that minimizes the
variance. The first good description of this method appears in
\citet{janssen1992} for the production of maps from the COsmic
Background Explorer (COBE -- the description is relevant despite the
fact that it used a differential radiometer instead of
bolometers). Other descriptions in the experimental CMB literature
include \citet{tegmark1997} and \citet{stompor2002}, and an
application to data from SCUBA is described in \citet{borys2004}. The
downside to such methods is that they can be both computationally
expensive and have large memory requirements. While for some
experimental designs fast iterative methods for the inversion do exist
without requiring excessive amounts of memory, such as that of
\citet{wright1996} \citep[which was later implemented for SCUBA
by][]{johnstone2000}, for the more general map-making problem,
involving many detectors, matters are significantly complicated both
by the need to measure the cross spectra for all unique pairs of
bolometers, as well as performing the inversion itself. A
maximum-likelihood method was successfully used to make maps from ACT
data using approximately the same number of detectors as a single
\scuba\ subarray at a single wavelength. However, the calculation is
extremely resource intensive and requires a large cluster in order to
run; a single map can take 10\,CPU\,years \citep{fowler2010}. Perhaps
the most promising maximum-likelihood method that may one day be
applied to \scuba\ data is ``SANEPIC'', which produced maps from
Balloon-borne Large-Aperture Submillimeter Telescope data, involving
hundreds of bolometers, while correctly incorporating inter-bolometer
noise correlations \citep[][]{patanchon2008}.
The third approach adopted here for \scuba\ is a compromise between
the previous two methods. Under the assumption that a significant
portion of the (predominantly low-frequency) non-white noise sources
can be modelled, an iterative solution is obtained for both the
astronomical image and the parameters of the noise model. Since the
remaining (non-modelled) noise sources are assumed to be white, a
single scalar \rms\ may be calculated for all of the data points from
a given bolometer to characterise its noise distribution (since the
noise at any instant in time is uncorrelated with others, and with the
data from other bolometers), greatly simplifying the inversion step
that is so complicated in the maximum-likelihood methods. In the
iterative approach memory usage scales linearly with $N$, the product
of the number of bolometers, $N_\mathrm{b}$, with the number of
samples in time, $N_\mathrm{t}$. The computation time is the product
of the number of iterations, $N_\mathrm{iter}$, with the time per
iteration, $t_\mathrm{iter}$. For the algorithm described in this
paper, $N_\mathrm{iter}$ is typically in the range $\sim$5--100
(depending on the \snr\ of large-scale structures, and the size of the
map), and $t_\mathrm{iter}$ scales as $N_\mathrm{t} \log
N_\mathrm{t}$, since Fast Fourier Transforms (FFTs) of the time-series
are typically performed. By comparison, the fastest maximum-likelihood
methods that account for inter-bolometer correlations have an
execution time with an $N_\mathrm{b}^2$ dependence, although it is
possible to limit memory usage to be linear in $N_\mathrm{t}$
\citep[e.g.,][]{patanchon2008}.
Iterative approaches to map-making have a long history in the
submillimetre, such as the pipeline recipe for fitting and removing
baseline drifts in SCUBA scan-map data as the astronomical image
estimate improved \citep{1999ASPC..172..171J}. The closest modern
relatives are the Comprehensive Reduction Utility
\citep[CRUSH,][]{kovacs2008} for the Submillimeter High-Angular
Resolution Camera 2 (SHARC-2), the pipeline developed for the Bolocam
Galactic Plane Survey \citep{aguirre2011}, and the Bolometer array
data Analysis software (BoA) for the Large APEX BOlometer CAmera
\citep[LABOCA,][]{schuller2012}.
A reasonable model for correlated noise in \scuba\ is a single
``common-mode'' signal seen by all of the bolometers. Iterative
estimation and removal of this signal significantly lowers the $1/f$
knee, without compromising structures on angular scales smaller than
the array footprint. Residual independent drifts at lower frequencies
are removed with an iterative high-pass filter. This strategy enables
SMURF to reduce data on time scales commensurate with the observing
times (or significantly faster), on single high-end desktop
computers. For reference, all of the data analysis in this paper was
performed on a machine with a 64-bit 8-core central processing unit
operating at 2.7\,GHz, and 48\,Gb of memory. SMURF has been
successfully used as part of a real-time pipeline \citep[based on the
Observatory Reduction and Acquisition Control - Data Reduction system,
or ORAC-DR,][]{gibb2005,2008AN....329..295C} offering feedback to
observers at the telescope. The pipeline is also used to generate
products for the JCMT Science Archive \citep{2011ASPC..442..203E}
hosted by the Canadian Astronomy Data Centre (CADC).
This paper is organized as follows. We first describe the properties
of \scuba\ data, including a principal component analysis to reveal
correlated noise features, in Section~\ref{sec:data}. Next, the
details of the SMURF algorithm (pre-processing steps and the iterative
solution) are given in Section~\ref{sec:algorithm}. The paper is
concluded in Section~\ref{sec:examples} with three detailed test cases
that span the majority of observation types likely to be undertaken
with \scuba, with an emphasis on the mitigation of divergence
problems, and characterising the output maps: (i) Uranus, a bright,
compact source (Section~\ref{sec:point}); (ii) the Lockman Hole, a
blind survey of faint point-like sources (Section~\ref{sec:cosmo});
and (iii) the star-forming region M17, including bright, extended
emission (Section~\ref{sec:extended}). All of the data analysed in
this paper are publicly available through the CADC \scuba\ raw-data
queries page for the dates and observation numbers given in the
text\footnote{\url{http://www.cadc-ccda.hia-iha.nrc-cnrc.gc.ca/jcmt/search/scuba2}}.
All of the analysis was performed using the Starlink \textsc{kapuahi}
release from 2012.
%------------------------------------------------------------------------------
\section{\scuba\ data properties}
\label{sec:data}
%------------------------------------------------------------------------------
In this section we summarise how \scuba\ works,
(Section~\ref{sec:bolos}), give examples of typical bolometers signals
(Sections~\ref{sec:bolosignal}), discuss the impacts of magnetic field
pickup (Section~\ref{sec:magpickup}) and sky noise
(Section~\ref{sec:skynoise}), and finally use of principal component
analysis to explore the correlated noise properties of \scuba\ data
(Section~\ref{sec:pca}).
%--------------------------------------------------
\subsection{Description of \scuba}
\label{sec:bolos}
%--------------------------------------------------
While the details of how \scuba\ works are described in
\citet{holland2013}, and its calibration in \citet{dempsey2013}, we
summarise the basic concepts relevant to map-making here.
Incoming light passes through a beam-splitter, and then bandpass
filters, providing simultaneous illumination and wavelength definition
of both the 450 and 850\,\micron\ focal planes. Each focal plane is
populated by four ``subarrays'' (labelled s4a--s4d at 450\,\micron,
and s8a--s8d at 850\,\micron), each consisting of 32 columns and 40
rows of bolometers. The bolometers are thermal absorbers (with a
response time constant of $\tau \sim 1$\,ms) coupled to
superconducting transition-edge sensors (TESs) for
thermometry. Temperature variations in the TESs produce changing
currents, and therefore varying magnetic fields, which are detected
and amplified using chains of superconducting quantum interference
devices (SQUIDs), before the larger output currents are
digitised. Each detector has its own SQUID for the first-stage of the
amplification, but the remaining stages occur within a common chain of
SQUIDs for each of the 32 columns. All 40 rows are read out in
sequence at a row-visit frequency of about 12\,kHz. Such a high sample
rate is unnecessary to produce maps, so the data are re-sampled to
approximately 200\,Hz before writing to disk. This rate provides a
sample every 3.0\,arcsec, or approximately one third of the
450\,\micron\ diffraction-limited full-width at half-maximum (FWHM) --
a typical rule-of-thumb for adequately sampling a Gaussian point
spread function (PSF) -- at the maximum scanning speed of
600\,arcsec\,s$^{-1}$. There is an additional 41st row of SQUID
readouts that are not connected to TESs. These ``dark SQUIDs'' track
non-thermal noise sources that are common to each column's amplifier
chain. The relationship between the output digitised current, $I$, and
the input power, $P$, or $dI/dP$ is established using flatfield
observations immediately prior to science observations, in which the
output signal is measured throughout a ramp of the pixel heaters
(which provide a known input power); see Section~2.1 in
\citet{dempsey2013} and Section~5.3 in
\citet{holland2013} for more details. Finally, the conversion to
astronomical flux units from power involves a correction for
atmospheric extinction \citep[primarily using the 183\,GHz (1.6\,mm)
JCMT Water Vapour Monitor to track line-of-sight opacity variations,
see Section~3 in][]{dempsey2013}, and the application of a flux
conversion factor (FCF) which is established from regular measurements
of calibrators such as Uranus \citep[Section~5 in][]{dempsey2013}.
In addition to uncorrelated white noise, and low-frequency (and often
correlated from bolometer to bolometer) $1/f$ drifts, bolometer power
spectra exhibit a roll-off at frequencies approaching Nyquist, which
is due to the anti-aliasing filter that forms part of the 200\,Hz
re-sampling stage. This anti-aliasing filter also introduces an
effective lag of $\sim$6\,ms. Adding this lag to the $\sim$1\,ms
thermal time constant, as well as a negative shift of about $-$2.5\,ms
caused by a half-sample offset due to the synchronization between the
pointing and bolometer data, yields a net lag of approximately
4.5\,ms. There are also line features in the spectra that are thought
to be produced primarily at frequencies far above the final 200\,Hz
sample rate, which are aliased to lower frequencies during the
multiplexed readout stage before they can be removed by the
anti-aliasing filter.
We note that the noise performance of \scuba\ has evolved over
time. An initial ``\scuba\ shared-risk observing'' period (S2SRO) took
place during February and March 2010, during which each of the 450 and
850\,\micron\ focal planes were populated with single subarrays, s4a
and s8d, respectively. In addition to having significantly fewer
available bolometers than the current fully-commissioned instrument
(and therefore a mapping speed reduced by a factor of $\sim$4),
instabilities in the fridge led to a large oscillating signal with a
period of about 25\,s that was correlated amongst the detectors. After
upgrading and commissioning the instrument, a servo using newly added
thermometers in the focal planes has effectively mitigated this
problem \citep[Section~2.5 in][]{holland2013}. In addition, there were
improvements to the magnetic shielding (reducing magnetic field
pickup, as described in Section~\ref{sec:magpickup}), as well as more
effective removal of aliased noise sources (which has reduced both the
presence of line features and the mean white noise level).
In order to reduce the impact of low-frequency noise on the final
maps, \scuba\ scan strategies have been designed to provide: (i) good
cross-linking (visiting every point of the mapped area at different
scan angles); and (ii) minimal accelerations to reduce turn-around
overheads (which could be quite large given the 600\,arcsec\,s$^{-1}$
maximum scan speed). For areas larger than the array footprint a
rectangular ``PONG'' pattern is used, in which the boresight travels
in approximately straight lines and ``bounces'' off the edges at
45\,degree angles until the area is uniformly filled in. It is also
usually combined with a rotation through a number of fixed position
angles to create a ``rotating PONG'' with even better
cross-linking. For smaller areas (of order the array footprint, or
point sources), in which the PONG turn-around overheads would be
large, a ``constant velocity daisy'' (CV Daisy) is used. Here the
telescope moves in a circle, whose centre also slowly traces out a
small circle. For a more complete description of the \scuba\ observing
modes, see Section~5 in \citet{holland2013} and also
\citet{2010SPIE.7740E..66K}.
\begin{figure*}
\centering
\begin{minipage}[h]{0.495\linewidth}
\textbf{(a) S2SRO} \\
\includegraphics[width=\linewidth]{bolos_point_mix_s2sro}
\end{minipage}
\begin{minipage}[h]{0.495\linewidth}
\textbf{(b) fully-commissioned} \\
\includegraphics[width=\linewidth]{bolos_point_mix}
\end{minipage}
\caption{A comparison between single bolometer time-series in each of
the 450 and 850\,\micron\ bands with the mixing chamber temperature,
the line-of-sight 450\,\micron\ opacity derived from the JCMT water
vapour monitor, and azimuth/elevation pointing offsets, before and
after upgrading the instrument. The grey signals over-plotted in the
top two panels show the residual time-series after removing the
common-mode signals. (a) Data taken during the S2SRO period,
observation 29 on 2010 March 13. There is a strong correlation
between the bolometers and the roughly $\sim$25\,s oscillation in
the fridge, but only a minor correlation with the opacity and
telescope motion. The nearly flat common-mode subtracted signals
show: (i) that most of the low-frequency signal is common to all of
the bolometers; and (ii) the non-correlated, and predominantly white
noise at 450\,\micron\ is significantly larger than at
850\,\micron. (b) Data taken with the fully-commissioned instrument,
observation 38 on 2011 November 12. Unlike the S2SRO data, there is
no strong signal produced by variations in the fridge
temperature. The 450\,\micron\ data have minimal correlated
low-frequency noise (as evidenced by the lack of a difference
between the raw and common-mode subtracted signals), although the
850\,\micron\ data show a common signal correlated with the opacity
and telescope motion (note that this scan has a significantly larger
amplitude than the S2SRO data set), mostly likely caused by a
combination of changing airmass (anti-correlated with opacity), and
magnetic field pickup (see Section~\ref{sec:magpickup} and
Fig.~\ref{fig:magpickup}).}
\label{fig:bolos_mix}
\end{figure*}
\begin{figure*}
\centering
\begin{minipage}[h]{0.495\linewidth}
\textbf{(a) S2SRO} \\
\includegraphics[width=\linewidth]{pspec_s2sro}
\end{minipage}
\begin{minipage}[h]{0.495\linewidth}
\textbf{(b) fully-commissioned} \\
\includegraphics[width=\linewidth]{pspec}
\end{minipage}
\caption{Bolometer power spectral densities (PSDs) for the same two
data sets (before and after upgrades) used in
Fig.~\ref{fig:bolos_mix}. The PSDs have been boxcar smoothed with a
width of 0.1\,Hz to reduce the noise slightly and clarify some
features. Four of the most sensitive bolometers have been selected
at each wavelength, and the flat-fielded and step-corrected (but
otherwise raw) PSDs are shown as coloured dotted lines (the blue
signals are for the same time series as those shown in
Fig.~\ref{fig:bolos_mix}). The solid black lines are the PSDs of
the common-mode signals at each wavelength, and the solid coloured
lines show the PSDs of the bolometers once the common-mode is
removed. Finally, the dashed black lines show the spectral shape
produced by a point source given the scan speeds for the two
observations (120\,arcsec\,s$^{-1}$ in (a), and
190\,arcsec\,s$^{-1}$ in (b); for reference, the top horizontal axes
shows the conversion from frequency to angular scale. Horizontal
dotted lines at $10^{-7}$ and $10^{-8}$\,pW\,Hz$^{-1}$ at 450 and
850\,\micron, respectively, are provided as a visual reference for
the white-noise levels. In addition to $1/f$ and white noise
components, and line features, all of the PSDs exhibit the gradual
roll-off of the anti-aliasing filter just below the Nyquist
frequency. (a) For the S2SRO data, particularly at 450\,\micron,
there are broad line features in the PSDs at both wavelengths above
$\sim$35\,Hz. At lower frequencies, the bolometer signals exhibit
clear $1/f$ knees at approximately 2 and 3\,Hz at 450 and
850\,\micron. Common-mode subtraction removes most of the correlated
fridge oscillation signal, lowering the $1/f$ knees to approximately
0.6 and 1.0\,Hz at 450 and 850\,\micron, respectively. (b) Data from
the fully-commissioned instrument tend to have lower $1/f$ knees,
and fewer line features. For this example, the improvement is most
striking at 450\,\micron\ where the PSD is approximately two
orders-of-magnitude lower in the fully-commissioned data at
0.1\,Hz. The white noise performance, however, is similar for the
two subarrays (s4a and s8b) that were used both before and after the
upgrades.}
\label{fig:pspec}
\end{figure*}
%-------------------------------------------------
\subsection{Typical bolometer signals}
\label{sec:bolosignal}
%-------------------------------------------------
In Fig.~\ref{fig:bolos_mix} we show sample time-series from single
bolometers in each of the 450 and 850\,\micron\ focal planes, as well
as variations in the mixing chamber temperature (though not located in
the focal plane itself, it is certainly correlated with the
temperature of the detectors), the line-of-sight atmospheric opacity
as derived from the JCMT water vapour monitor (WVM), and the telescope
pointing, for two data sets, before and after the upgrades that
followed S2SRO.
In the S2SRO data (Fig.~\ref{fig:bolos_mix}a), observation 29 on 2010
March 13, both bolometers share significant long-timescale structure
($\gsim10$\,s) that appears to be related to variations in the fridge
base temperature, although the similarity is clearly greater at
850\,\micron. Note that the total power in the fluctuations at
450\,\micron\ are comparable to those at 850\,\micron\ as one might
expect if there is a comparable varying thermal load from the fridge
at each wavelength that dominates. We also note that there is no
obvious strong correlation between the low-frequency signal structure,
at either wavelength, with the telescope motion. However, there is a
suggestion that the shorter-timescale behaviour of the opacity is
anti-correlated with the elevation, as expected.
The low-frequency signal component of the S2SRO bolometer output is
also highly correlated amongst bolometers in the same subarray. We
have calculated a common-mode signal, $\mathbf{c}(t)$, as the average
time-series of all the working bolometers. We then fit the amplitude
of $\mathbf{c}(t)$ at each wavelength to the signals shown in
Fig.~\ref{fig:bolos_mix} and remove it, yielding the grey residual
signals. These residuals are nearly white, although still with
noticeable long-timescale variations. The white noise is greater at
450\,\micron\ as one would expect from the larger backgrounds compared
to 850\,\micron.
Data from the fully commissioned instrument, observation 38 on 2011
November 12, are shown in Fig.~\ref{fig:bolos_mix}b. Having solved the
fridge oscillation problem, these data no longer exhibit a correlation
with the mixing chamber (however, note that variations are still seen
in the mixing chamber signal; such variations do not necessarily
reflect changes in the focal plane temperature). There is minimal
correlated low-frequency noise in these 450\,\micron\ data, resulting
in little difference between the raw and common-mode subtracted
data. The 850\,\micron\ channel, however, exhibits a more significant
signal that is obviously correlated with the telescope motion. It is
also correlated amongst many of the detectors, and common-mode removal
corrects it to a large extent. Part of the reason that this is seen
here, and not in the S2SRO data set shown, is that the amplitude of
the scan pattern is larger. This ``scan-synchronous'' noise is
attributed to a combination of magnetic field pickup, as described in
Section~\ref{sec:magpickup}, and sky brightness variations due to
changes in elevation (not to be confused with underlying changes in
the atmosphere; a homogeneous atmosphere will appear brighter with
increasing airmass). Also similar to the S2SRO data, an
anti-correlation between the opacity and elevation is apparent.
Next, in Fig.~\ref{fig:pspec} we produce power spectral density (PSD)
plots for four of the most sensitive bolometers from both focal
planes, using the same two data sets. To produce this figure, we
follow the convention that the PSD as a function of frequency,
$\mathbf{P}(f)$, is normalised such that the integral over frequency
gives the same variance as the time-series variance across the full
time-series. In other words, given a bolometer signal $\mathbf{b}(t)$,
%
\begin{equation}
\label{eq:psd}
\langle\mathbf{b}^2(t)\rangle = 2 \int_0^{f_\mathrm{N}} \mathbf{P}(f)
df ,
\end{equation}
%
where we only integrate over the positive frequencies up to
$f_\mathrm{N}$, the Nyquist frequency, and the factor of 2 accounts
for the (equal) power that appears at negative frequencies in the
discrete Fourier Transform. The units of the PSD written in this form
are pW$^2$\,Hz$^{-1}$.
The dotted coloured lines in Fig.~\ref{fig:pspec} show the PSDs for
raw, though flat-fielded and step-corrected (Section~\ref{sec:steps})
data. At each wavelength, and in both data sets, there are clear $1/f$
knees at frequencies ranging from roughly 1 to 2\,Hz, followed by a
predominantly white spectrum punctuated by line features at higher
frequencies, and finally a roll-off caused by the anti-aliasing filter
above $\gsim 70$\,Hz. The correlation between the low-frequency
components of the different bolometer signals is large. The solid
black lines in Fig.~\ref{fig:pspec} indicate the PSDs of the
common-modes $\mathbf{c}(t)$ at each wavelength, which reproduce much
of the low-frequency structure, as well as some of the
higher-frequency line features. The $\mathbf{c}(t)$ otherwise drop
substantially below the individual bolometer PSDs at high frequency,
as expected if the bolometers are dominated by uncorrelated white
noise in that part of the spectrum. The common-mode signals are fit to
each bolometer time series and removed as in Fig.~\ref{fig:bolos_mix},
and the resulting PSDs are shown as solid coloured lines. For
reference, the top horizontal axes have been converted to angular
scale assuming the scan speeds of each observation
(120\,arcsec\,s$^{-1}$ in Fig.~\ref{fig:pspec}a, and
190\,arcsec\,s$^{-1}$ in Fig.~\ref{fig:pspec}b). The power spectra of
unresolved point-sources are also shown as dashed lines in each band
(arbitrarily normalised), showing that the smallest features
resolvable by the telescope are only minimally affected by the excess
noise in the line features at these scan speeds (this may not be the
case at higher scan speeds).
In the S2SRO data (Fig.~\ref{fig:pspec}a), the low-frequency noise is
very correlated between the detectors (note the tight scatter in the
dotted coloured lines, and their resemblance to the common-mode), due
to it being dominated by the fridge oscillations. Common-mode
subtraction is very effective, reducing the $1/f$ knees in both
wavelengths by about a factor of 5.
Raw data from the fully-commissioned instrument
(Fig.~\ref{fig:pspec}b) generally have less significant $1/f$ noise as
compared with the S2SRO data, and it is considerably less correlated
amongst detectors (larger spread in the dotted coloured lines,
particularly noticeable in these 450\,\micron\ data), leading to a
less drastic improvement upon common-mode removal. However, since the
data are less dominated by low-frequency noise to begin with, the
signals generally require less aggressive high-pass filtering to
produce maps, and therefore retain larger-scale structures than with
the S2SRO data. Furthermore, there are generally fewer line features
in the PSDs of bolometers in the fully-commissioned
instrument. Finally, these two data sets illustrate that the white
noise performance (NEFD) is in fact similar before and after the
upgrades for these two subarrays (s4a at 450\,\micron, and s8b at
850\,\micron). The main improvements are a reduction in correlated and
line noise features mentioned above, the larger number of working
bolometers and field-of-view (approximately a factor of 4).
%-------------------------------------------------
\subsection{Magnetic field pickup}
\label{sec:magpickup}
%-------------------------------------------------
\begin{figure}
\centering
\includegraphics[width=\linewidth]{magpickup}
\caption{Evidence for significant magnetic field pickup for
observation 16 on 2010 February 28 at 450\,\micron\ (s4a subarray).
The top panel shows two un-flatfielded (but mean-subtracted and step
corrected) bolometer time-series from the same column, with a 200
sample boxcar smoothing (approximately 1\,s), illustrating that they
are dominated by a similar signal with opposite signs. The second
panel shows the dark squid signal for the column, also
mean-subtracted and with the same boxcar smoothing. The bottom panel
shows the azimuthal and elevation offsets from the map centre (mean
azimuth and elevation 171.9$^\circ$ and 68.0$^\circ$,
respectively). Only the azimuthal signal is obviously correlated
with the dark squids and bolometer signals, which suggests a
magnetic field stationary with respect to the telescope dome as the
source, since its direction with respect to the cryostat only
changes with azimuthal motion.}
\label{fig:magpickup}
\end{figure}
An additional noise source that is significant primarily for wide-area
scans (and more so during the S2SRO period) is magnetic field
pickup. Since the bolometer signals are detected through the
amplification of magnetic fields, any additional changing fields
within the instrument will add to the noise.
Example data from the 450\,\micron\ subarray s4a where pickup appears
to be significant (observation 16 on 2010 February 28) are shown in
Fig.~\ref{fig:magpickup}. The time-series for two bolometers in the
same column (not flatfielded) show that there is a strong signal with
a similar shape, but opposite signs. This behaviour is seen across the
entire array. The dark squid signal for the same columns exhibits a
similar shape and amplitude. Since the dark squid has no thermal
absorber or TES attached to it, this observed signal is not likely to
be optical or thermal in nature (although there can be some cross-talk
with the bolometers). Due to the fact that the sign of the gain in
each stage of SQUID amplification is random (although the combined
gain is constrained to be negative), and since magnetic field pickup
is only seen at the input to the second stage, the pickup can appear
with random signs for bolometers along a column, giving it a distinct
signature from other common signals that always appear with the same
sign.
The telescope pointing offsets for this approximately 0.5\,degree
diameter scan are also shown in Fig.~\ref{fig:magpickup}. Since the
phase of the azimuth offsets from the map centre in this scan pattern
slowly drifts with respect to the elevation offsets, it is clear that
the bolometer and dark squid signals are detecting a noise source that
is correlated only with the azimuthal motion and not the
elevation. This behaviour would be expected if if there were a strong
magnetic field fixed with respect to the telescope dome (i.e., the
earth's magnetic field). Since \scuba\ is mounted on a Nasmyth
platform, only azimuthal motion will change the direction of such a
field with respect to the cryostat. Tests have shown that, as in this
example, large scans in azimuth generically produce pickup. In
contrast, and as expected, changes in elevation results in pickup that
is approximately three orders-of-magnitude smaller.
%-------------------------------------------------
\subsection{Sky noise}
\label{sec:skynoise}
%-------------------------------------------------
\begin{figure}
\centering
\includegraphics[width=\linewidth]{skynoise}
\caption{Illustration of the dominance of atmospheric variations on
long-timescales using 35\,min. of data taken in highly-variable
weather conditions (line-of-sight 450\,\micron\ opacity ranging from
3.6 to 7.7) from the fully-commissioned instrument, observation 18
on 2011 March 24. Red and blue lines show the 850 and 450\,\micron\
common-mode signals, corresponding to the left- and right- vertical
axes, respectively. The black line shows the line-of-sight opacity
from the WVM as a proxy for atmospheric emission (arbitrary
scale). Bolometer baseline drifts on timescales $\gsim$100\,s are
clearly correlated with the atmosphere in this case.}
\label{fig:skynoise}
\end{figure}
The data shown in Figs.~\ref{fig:bolos_mix} and \ref{fig:pspec} were
taken during fairly stable weather conditions (although with different
450\,\micron\ line-of-sight opacities $\sim$0.9 and 6.5 in the S2SRO
and post-upgrade data sets, respectively), and are dominated at low
frequencies ($\lsim$2\,Hz) by scan-synchronous noise, rather than
underlying variations in the atmosphere, or ``sky noise''. However,
only $\sim$100\,s of data were analysed. In Fig.~\ref{fig:skynoise},
an order-of-magnitude longer (fully-commissioned) data set is plotted
from observation 18 on 2011 March 24, during highly variable weather
conditions (450\,\micron\ line-of-sight opacities ranging from 3.6 to
7.7, scaled from the WVM data which are shown as a black line). Unlike
the earlier plots, it is clear that the bolometer baseline drifts on
timescales $\gsim$100\,s are tightly correlated with the atmospheric
opacity, which serves as a proxy for atmospheric emission. The weaker
correlation between the WVM and the 450\,\micron\ bolometers is
probably due to the atmosphere being more transmissive at 850\micron,
therefore the emission detected at 450\,\micron\ comes from water
vapour that is closer to the telescope than that observed at the
longer wavelengths.
While the relative importance of sky noise at low frequencies is
highly time- and scan pattern-dependent, in general it does not have a
major impact on map-making. Upon common-mode removal (which is an
integral part of our map-making strategy) uncorrelated noise remains
(e.g., solid lines in Fig.~\ref{fig:pspec}). As we will see in
Section~\ref{sec:pca} and \ref{sec:experimental}, this remaining noise
does not have a smoothly-varying correlation pattern across the focal
plane as one might expect if it were due to resolved ``clouds'' of
atmospheric emission. A high-pass filter with an edge frequency in the
range $\sim$0.1--1.0\,Hz is usually employed to remove this residual
noise (Section~\ref{sec:components}), and will also remove any sky
noise that is not already subtracted by the common-mode.
%-------------------------------------------------
\subsection{Principal component analysis}
\label{sec:pca}
%-------------------------------------------------
A method that has been used to remove correlated noise as part of the
map-making procedure for Bolocam and AzTEC is Principal Component
Analysis \citep[PCA,][]{laurent2005,scott2008,perera2008}. Here we use
PCA to further explore correlated signals in \scuba\ data.
The basic method is as follows: (i) a covariance matrix is built up
for all pairs $(i,j)$ of the $N$ bolometer time-series,
$\langle\mathbf{b}_i(t),\mathbf{b}_j(t)\rangle$; and (ii) a singular
value decomposition identifies a new set of statistically uncorrelated
basis vectors, $\mathbf{\xi}_i(t)$ (i.e., whose covariance matrix is
diagonal), such that each of the bolometer time-series is a linear
combination of the basis vectors, or components i.e., $\mathbf{b}_i(t)
= \bar{\mathbf{\xi}} \mathbf{\lambda}_i^\mathrm{T}$, where each row of
the matrix $\bar{\mathbf{\xi}}$ is a basis vector, and
$\mathbf{\lambda}_i^\mathrm{T}$ is a column vector containing the
corresponding amplitudes. The $\mathbf{\xi}_i(t)$ are normalised by
$[\sum_t \mathbf{\xi}_i^2(t)]^{1/2}$, such that the amplitude of each
component is proportional to its \rms. In the earlier analyses
mentioned, the low-frequency noise is assumed to be encapsulated in
those components with the largest eigenvalues. Removing the projection
of the time series along those components then significantly reduces
$1/f$ noise while retaining most of the (higher-frequency) signal in
point-like sources
A novel feature of our \scuba\ analysis is that we can perform PCA
with 450 and 850\,\micron\ data simultaneously, potentially helping us
to differentiate thermal and optical noise signals (e.g., from the
atmosphere) that might appear in both wavelengths, from other noise
sources that are restricted to single subarrays (such as readout
noise). In Fig.~\ref{fig:pca} we show the results for a combined
analysis of the s4a and s8b subarrays for the first $\sim$100\,s of
the same observation that was used in Figs.~\ref{fig:bolos_mix}b and
\ref{fig:pspec}b. The nine most significant components are shown
(ranked by the mean amplitudes across all working bolometers in both
bands). The top and middle panels for each component show the
time-series and PSDs of the normalised basis vectors. The bottom
panels are maps indicating the significance (amplitudes) of the
component across the focal plane (with the mean $\bar{\lambda}$ and
and \rms, $\lambda_\mathrm{rms}$, of the amplitudes for all of the
bolometers calculated separately at each wavelength also shown).
The majority of the correlated signal at both wavelengths in
Fig.~\ref{fig:pca} is produced by Component~1, in which the basis
vector time-series exhibits a roughly periodic signal that resembles
the scan pattern in Fig.~\ref{fig:bolos_mix}b. While this correlated
signal appears at both wavelengths, referring to the maps of
amplitudes, they are considerably stronger at 850\,\micron\
(consistent with the visual appearance of the bolometer signals in
Fig.~\ref{fig:pca}). Also note that the PSD for this basis vector
exhibits nearly a pure $1/f$ signature with minimal line features, and
no white-noise plateau (suggesting that these are high-\snr\
measurements of a purely low-frequency drift). Component~3 is weaker,
yet also shows evidence of the scan-synchronous noise, combined with
high-frequency line features that appear primarily in columns 26, 29
and 30 of the 450\,\micron\ subarray. Unlike Component~1, it is
generally more dominant at 450\,\micron.
\begin{figure*}
\centering
\includegraphics[width=0.85\linewidth]{pca}
\caption{The first nine components from a principal component
analysis, ranked by the mean amplitudes of combined 450 (s4a
subarray) and 850\,\micron\ (s8b subarray) time-series bolometer
data, for the same observation as that used in
Figs.~\ref{fig:bolos_mix}b and \ref{fig:pspec}b. For each component
the top plot shows the time-series of the basis vectors normalised
by their \rms, the middle plot its PSD, and the bottom coloured
panels the ampliudes for the bolometers at each wavelength (the
contribution of the basis vectors to the time-series). For
reference, both the mean, $\bar{\lambda}$, and \rms,
$\lambda_\mathrm{rms}$, amplitudes for the bolometers in each
subarray are also shown. Most of the correlated $1/f$ signal is
encapsulated in Component~1, and appears to be dominated by
scan-synchronous noise (compare with the scan pattern in
Fig.~\ref{fig:bolos_mix}b). Some of this signal also appears in
Component~3. Component~2 is another $1/f$ signal that is dominant in
the 850\,\micron\ subarray. Most of the remaining components consist
of weaker $1/f$ noise and line features predominantly above
$\sim$30\,Hz. The amplitude maps show correlated patterns along
columns suggesting pickup in their common amplifier chains.}
\label{fig:pca}
\end{figure*}
Why are there two components that seem to be dominated by
scan-synchronous noise (which is presumably a mixture of magnetic
field pickup and brightness variations in the atmosphere)? First, the
smoothly-varying gradients in the amplitude maps (primarily at
850\,\micron) suggests that this noise has a different response across
the focal plane; in this case the PCA has identified two orthogonal
shapes that, when mixed in different quantities, can reproduce most of
the signal in each bolometer. It is also likely that the atmospheric
contribution is stronger at 450\,\micron\ (i.e., predominantly
Component~3).
Like Component~1, Component~2 is a purely $1/f$ signal, with an
amplitude comparable to Component~3, that appears almost exclusively
at 850\,\micron. Since it is not obviously correlated with the
telescope motion, yet has an amplitude that varies smoothly across the
850\,\micron\ subarray, it may represent the PCA's attempt to reproduce
some non-linear response to magnetic field and/or atmospheric pickup
The remaining, weaker, Components~4--9 share some common
features. They all have some degree of $1/f$ noise, suggesting further
residual noise related to the telescope motion and/or other slow
baseline drifts. All of them also exhibit line features in their
spectra, which in many cases appear at random amplitudes along columns
(e.g. columns 15, and 26--30 at 450\,\micron\ in Component~4), or in a
sampling of isolated bolometers (e.g. column 13, row 19 at
850\,\micron\ in Component~6). The signals that appear along columns
are probably related to magnetic field pickup. Other sources of lines
are thought to be aliased high-frequency noise, and also the 60\,Hz
mains which appear in some bolometers.
This example illustrates some of the types of correlated signals and
patterns that PCA can identify in \scuba\ data. While there are
typically one or two strong signal components detected, in general,
the details can vary significantly from data set to data set, and the
lengths of the time-series analysed. The reason for this is that many
of the noise sources are not stationary in time (e.g.,
scan-synchronous noise which obviously depends on the scan pattern,
and the tuning of the subarrays). It should also be clear from this
example that while PCA offers some helpful insight into the various
sources of noise, it does not necessarily identify clean patterns that
can easily be modelled. For example, while there are clearly
correlation patterns along columns as expected from the common
amplification chain, the intensities of these high-frequency signals
appear random in the eigenvalue maps, and a simple common-mode signal
estimated from the data for each column would not remove
it. Regardless, the dominant noise in excess of the fundamental white
noise limit, in all cases, is at low-frequencies. This conclusion is
central to our data reduction strategy described in
Section~\ref{sec:algorithm}.
%------------------------------------------------------------------------------
\section{Production of maps}
\label{sec:algorithm}
%------------------------------------------------------------------------------
The approach taken by SMURF to reducing \scuba\ data is to model (and
remove) predominantly low-frequency noise sources that are correlated
amongst detectors, and to iterate this process along with estimates of
the map. Significant experimentation with different models for noise
sources during \scuba\ commissioning required a highly flexible
software framework, and a configurable user interface. To achieve this
goal, while minimizing development time, it was decided to build SMURF
as a Starlink package \citep{2009ASPC..411..418J}, which provides
access to a large suite of libraries (including a commanding and
messaging interface, astrometric coordinate conversions and generation
of standard WCS information, file formats etc.). Furthermore,
Starlink\footnote{\url{http://www.starlink.ac.uk}} is
open-source\footnote{\url{https://github.com/Starlink}} (distributed
under the GNU General Public Licence v3), and already used extensively
at the Joint Astronomy Centre (host of the JCMT) for many other
systems \citep{jenness2011}, which helps with interoperability. Though
originally written in FORTRAN, many of the core Starlink libraries are
now ported to native C, or at least have a C interface. It was
therefore decided to develop SMURF in C as well (rather than C++, for
example, which would have required adding further dependencies to
Starlink), although we have taken an object-oriented approach. For
example, all of the data for a given signal component model are
encapsulated in a C structure, and there is a standard interface for
all functions that handle models (member data and functions for the