This file is indexed.

/usr/share/doc/munipack/colcal.html is in munipack-doc 0.5.10-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  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
<!DOCTYPE HTML>
<html lang="en">
<head>
<!-- meta -->
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta name="description" content="A general astronomical image processing software">
<meta name="author" content="Filip Hroch">
<link href="news_feed.xml" type="application/atom+xml" rel="alternate" title="Sitewide ATOM Feed" />
<link type="text/css" rel="stylesheet" href="munipack.css">
<link rel="shortcut icon" href="favicon.ico">
<title>Munipack ‒ Colour Calibration Tutorial</title>
</head>
<body>
<header>
<a href="munipack.html"><img src="title_logo.png" alt="Munipack's logo" class="head"></a>
<div class="headhead">
<div class="headtitle">
<a class="headtitle" href="munipack.html">Munipack</a>
<a class="headsubtitle" href="munipack.html">A general astronomical image processing software</a>
</div>
<ul class="menu">
  <li class="menu"><a href="docs.html" class="menu">Documents</a></li>
  <li class="menu"><a href="guide.html" class="menu">User guide</a></li>
</ul>
</div>
</header>

<h1>Colour Calibration Of An Instrumental Photometric System</h1>

<p class="abstract">
How to calibrate of an instrumental photometric system. 
</p>

<h1>Open Cluster M 67</h1>

<p>
Open cluster M 67 is an old galactic cluster with a differently
evolved stars and with many kinds of spectra. The wide variability 
induces variability on fluxes per filters and are the crucial
for successful calibration.
</p>

<p>
The principle of colour calibration is determining of a relation
between instrumental and standard (calibrated) fluxes.
</p>



<h2>Sample Data</h2>

<p>
A sample data are available as 
<a href="ftp://munipack.physics.muni.cz/pub/munipack/munipack-data-m67.tar.gz">munipack-data-m67.tar.gz</a>. Use commands 
</p>
<pre>
$ cd /tmp
$ tar zxf munipack-data-m67.tar.gz
</pre>
<p>
to unpack it to a desired directory.
We will assume that the sample data are unpacked to <samp>/tmp</samp> directory
as <samp>/tmp/munipack-data-m67</samp>.
</p>

<p>
The sample data has been acquired at MonteBoo Observatory by group 
of author's students "Hrošátka". The flat-fields by ChM. Quality
of the observation is poor due to a light pollution by our urban neighbourhood.
</p>


<h2>Photometry Calibration</h2>

<p>
The main goal of photometry calibration is
to determine relations between instrumental counts
offered by our camera and expected number of
photons (derived from magnitudes in optical bands) defined
by a photometric system (with conventionally defined
transmission of filters).
</p>

<p>
General relations can by derived as an approximation
of a set of functions (instrumental filters) by another 
set functions (standard filters) as a linear transformations.
A simple example is the calibration of instrumental
<i>v</i>-filter by a standard <i>V</i>-filter:
</p>
<p>
<i>
F<sub>V</sub> = c<sub>Vv</sub> F<sub>v</sub> + c<sub>Vr</sub> F<sub>r</sub><br>
F<sub>R</sub> = c<sub>Rv</sub> F<sub>v</sub> + c<sub>Rr</sub> F<sub>r</sub>
</i>
</p>
<p>
The goal is to determine coefficients <i>c<sub>ij</sub></i> by a fit 
of the linear transformation. The precision and availability 
depends on coverage of colour of stars and that is why we use 
the evolved cluster.
</p>


<h2>Data Processing</h2>

<p>
There is an algorithm to get data for the calibration.
</p>

<ol>
<li>Prepare images for photometric corrections as describes 
<a href="phcorrtut.html">Photometric Corrections Tutorial</a>.
<pre>
$ munipack dark -o d7.fits d7_*.fits
$ munipack dark -o d30.fits d30_*.fits

$ munipack flat -o fB.fits -dark d7.fits flat_*B.fits
$ munipack flat -o fV.fits -dark d7.fits flat_*V.fits
$ munipack flat -o fR.fits -dark d7.fits flat_*R.fits

$ munipack phcorr -dark d30.fits -flat fB.fits m67_*B.fits
$ munipack phcorr -dark d30.fits -flat fV.fits m67_*V.fits
$ munipack phcorr -dark d30.fits -flat fR.fits m67_*R.fits
</pre>

</li>
<li>Stars detection and photometry
<pre>
$ munipack find -th 10 -f 6 m67_*.fits
$ munipack aphot m67_*.fits
</pre>
Warnings like:
<pre>
Object at coordinates:   739.055908       94.7188416    
  Are you sure your bad pixel thresholds are all right?
  If so, then you need a larger outer sky radius.
           8          20        1762   84700.0000       3.39999995E+38
</pre>
are reported for stars near of border (when aperture lie outsdie
of image) and can be safety ignored.
</li>
<li>Search an astrometric catalogue (required for astrometric calibration)
<pre>
$ munipack cone -r 0.2 132.8 11.8
</pre>
</li>
<li>Astrometry calibration of all images
<pre>
$ munipack astrometry -c cone.fits m67_*.fits
</pre>
</li>
<li>
Sum of all images
<pre>
$ munipack kombine --rcen 132.8304 --dcen 11.7771 -o m67_B.fits m67_*B.fits
$ munipack kombine --rcen 132.8304 --dcen 11.7771 -o m67_V.fits m67_*V.fits
$ munipack kombine --rcen 132.8304 --dcen 11.7771 -o m67_R.fits m67_*R.fits
</pre>
</li>
<li>Aperture photometry of final frames
<pre>
$ munipack find -th 10 -f 6 m67_?.fits
$ munipack aphot m67_?.fits
</pre>
</li>
<li>
<p class="li">
As the calibration stars, we had selected data 
for <a href="http://binaries.boulder.swri.edu/binaries/fields/m67.html">M67 Standards Field</a> measured by Arne Henden (other calibration 
sequences can be found at 
<a href="http://binaries.boulder.swri.edu/fields/">fields</a>).
Unfortunately, the tables are in plain text format. Munipack needs
a structured table (FITS table or VOTable) as the reference catalogue. 
The script <a href="henden_m67.sh">henden_m67.sh</a> has been prepared 
for convert the catalogue to more reliable format (and as an example how 
that catalogues can be created from own data).
</p>
<pre>
$ wget http://binaries.boulder.swri.edu/binaries/fields/m67ids.txt
$ bash henden_m67.sh
</pre>
The file <samp>m67ids.fits</samp> is created.
</li>
<li>
<p class="li">
The colour transformation is determined by <samp>phfotran</samp> action.
There is many parameters which can not be omitted. The identification
of instrumental and standard system (for documentation purposes and
for filter properties), the telescope area and the toleration for 
star's cross-matching will usually required.
</p>
<p class="li">
The crucial is selection of magnitude columns from catalogue 
<samp>--col-mag B,V,R</samp> for frames in appropriate filters.
The relation is determined on base of descending order
(B for m67_B.fits, etc).
</p>
<pre>
$ munipack phfotran \
  --photsys-instr MonteBoo --photsys-ref Johnson 
  -c m67ids.fits \
  --col-ra RAJ2000 --col-dec DEJ2000 \
  --col-mag B,V,R \
  --tol 0.0005 \ 
  --area 0.283  \
  m67_B.fits m67_V.fits m67_R.fits
</pre>
<p  class="li">
The action creates the file <samp>phfotran.fits</samp> which contains 
a table like this:
</p>
<table>
<tr><th></th><th>B</th><th>V</th><th>R</th></tr>
<tr><td>b</td><td>18.05</td><td>-0.87</td><td>0</td></tr>
<tr><td>v</td><td>-0.47</td><td>7.48</td><td>0.27</td></tr>
<tr><td>r</td><td>0</td><td>-0.72</td><td>7.78</td></tr>
</table>

<p class="li">
As we can see, the instrumental filters on MonteBoo
Observatory are nearly to Johnson filters (at least filters
used on calibration field). The off-diagonal elements are
negligible to diagonal ones. Also efficiency in <i>V,R</i> filters
is twice more than in <i>B</i> filter (due to quantum sensitivity of 
used CCD camera).
</p>

<p class="li">
The result table can be used on precise of <a href="man_phcal.html">photometric calibration</a>.
</p>
</li>
</ol>

<h2>Colour Look</h2>

<p>
Just for a nice picture, the colour frame can be easy prepared:
</p>
<pre>
munipack coloring -o m67.fits -c 'Johnson BVR' m67_B.fits,B m67_V.fits,V m67_R.fits,R
</pre>

<figure>
<img src="m67.png" alt="m67.png" title="Color Image of M67">
<figcaption>
M67 in Colours
</figcaption>
</figure>


<h2>Notes</h2>

<p>
This example is illustrative only! The instrumental
magnitudes are also affected by the atmospheric extinction
and to get correct values, we need to determine extra-atmospheric magnitudes
by observing of the field in different air masses and an extrapolation
on null air mass.
</p>

<h2>See Also</h2>
<p>
<a href="man_phcal.html">Photometry calibration</a>,
<a href="man_phfotran.html">Photometric System Transformation</a>,
<a href="dataform_photometry.html">Photometry Format</a>.
</p>

<footer>
<div style="float:left; margin-left:2em;">
Copyright &copy; 1997 – 2018
Filip Hroch (<a style="text-decoration: none" href="mailto:hroch@physics.muni.cz?Subject=Munipack" title="Author's Email"></a>), license <a href="http://www.gnu.org/licenses/gpl.html">GPLv3</a>.
</div>
<div style="float:right; margin-right:2em; margin-top:-0.2em;">
<a href="http://monteboo.blogspot.com/search/label/Munipack" title="Munipack on MonteBoo Blog"><img src="favicon-blogger.png" alt="Blogger"></a>
<a href="http://www.muni.cz/?lang=en" title="Masaryk University in Brno, Czech Republic"><img src="mu-logo.png" alt="Masaryk University"></a>
<a href="news_feed.xml" title="Munipack's Releases in Atom Syndication Format"><img src="Feed-icon.png" alt="Atom Feed"></a>
</div>
</footer>
</body>
</html>