File: README

package info (click to toggle)
cpl-plugin-vimos 4.1.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 28,228 kB
  • sloc: ansic: 169,271; cpp: 16,177; sh: 4,344; python: 3,678; makefile: 1,138; perl: 10
file content (259 lines) | stat: -rw-r--r-- 8,707 bytes parent folder | download | duplicates (4)
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
In this file:

* About the VIMOS pipeline
* Availability
* Installing the VIMOS pipeline
*   Supported Platforms
*   Prerequisites
*   Compiling the Common Pipeline Library 
*   Compiling the VIMOS pipeline
* Running the recipes
* Related Information
* Reporting Bugs


About the VIMOS pipeline:
-------------------------

This is version 1.3.1 of the VIMOS instrument pipeline.

This package contains the VIMOS pipeline recipes for processing the 
imaging and spectroscopy data generated by VIMOS in direct imaging,
the multi-objetc spectroscopy mode, and the IFU spectroscopy mode.

The VIMOS pipeline is free software, you can redistribute it and/or
modify it under the terms of the GNU General Public License.


Availability:
-------------

The latest stable release of the VIMOS pipeline libraries and recipes
is always available from `ftp://ftp.eso.org/pub/cpl/vimos'.


Installing the VIMOS pipeline:
------------------------------

Supported platforms:
--------------------

The VIMOS Pipeline has been verified on the VLT target platforms:

  - HP-UX 11.00 or later,
  - Linux (glibc 2.1 or later),
  - Sun Solaris 2.8 or later,

using the GNU C compiler (version 3.2 or newer). It should be possible
to build the VIMOS pipeline on other UN*X variants too, but support is
only provided for the platforms listed above.

Note: It is known that the current version of the VIMOS pipeline does
      not compile on Mac OS X.


Availability:
-------------


Prerequisites:
--------------

To compile and install the VIMOS Pipeline one needs:

  - the GNU C compiler (version 3.2 or later),
  - the GNU gzip data compression program,
  - a version of the tar file-archiving program, and,
  - the GNU make utility.

Furthermore, an installation of the Common Pipeline library (CPL) must be
available on the system. Currently CPL version 1.0.1 or newer is required.
The CPL destribution can be obtained from `http://www.eso.org/cpl'.

CPL itself depends on an installation of the qfits FITS I/O
library. The qfits sources are available from the CPL download page or
directly from the qfits homepage at `http://www.eso.org/projects/aot/qfits'.
For CPL 1.0.1 one must use qfits 4.3.5. Later versions of CPL support
also newer versions of qfits.

In order run the VIMOS pipeline recipes a front-end application is also
required. Currently there are two such applications available, a
command-line tool called `EsoRex' and the Java based data file organizer,
`Gasgano', which provides an intuitive graphical user interface. At least
one of them must be installed to be able to use the recipes. The `EsoRex'
and `Gasgano' packages are available at `http://www.eso.org/cpl/esorex.html'
and `http://www.eso.org/gasgano' respectively.

For installation instructions of any of the additional packages please
refer to the documentation of these packages. 


Compiling the Common Pipeline library:
--------------------------------------

In the following the installation of the qfits and CPL distributions
is outlined. For detailed instructions and further configuration
options please refer to the documentation of the individual packages.

Since CPL requires the qfits library it must be installed first:

  1. Unpack the qfits package.

  2. Go to the top-level directory of the unpacked qfits source tree

  3. Setup the sources by executing

       $ ./configure --enable-shared --prefix=<installation path>

     at the shell's prompt. This sets up the package and prepares for
     an installation into the directory passed as argument of the 
     `--prefix' option.

     Important: Qfits contains a fixed sized pointer buffer which
                needs to be enlarged for the VIMOS recipes. For qfits
                4.3.5 the only way to adjust the buffer size is to
                edit the file `config.make' which will be created when
                the qfits `configure' program is executed.

                Edit this file and remove all xmemory related entries
                (entries starting with `-DXMEMORY') from the line
                starting with `CFLAGS'.

                Then add `-DXMEMORY_MAXPTRS=32768' to the end of this
                line and continue with the qfits installation.

  4. Build and install the library by executing
     
       $ make static dynamic
       $ make install

     at the system prompt.

This completes the qfits installation. Now the Common Pipeline Library
can be installed:

  1. Unpack the CPL package.

  2. Go to the top-level directory of the unpacked CPL source tree.

  3. Set up the source tree. CPL follows the standard GNU installation
     procedure. To customize the installation the command line options
     of the `configure' script can be used. A typical command line 
     will look like:

       $ ./configure --enable-debug --with-qfits=<qfits directory> \
       > --prefix=<installation path> 
  
     This compiles CPL with debugging support and the libraries will
     be installed into the directory indicated by the argument of the
     `--prefix' option. The location of the qfits installation (the
     root directory of the installation, i.e. it contains the
     directories `include' and `lib' containing the qfits headers and
     libraries respectively) which will be used is also given on the
     command line. As an alternative the environment variable QFITSDIR
     may be used.

     By default both, the static and the shared libraries are built. 

  4. Build and install the CPL typing

       $ make
       $ make install

     at the system prompt. To install the on-line HTML documentation
     execute

       $ make install-html


Compiling the VIMOS pipeline:
-----------------------------

The VIMOS pipeline follows the standard GNU installation procedure,
please refer to the file INSTALL for details.

To prepare the VIMOS pipeline source tree the location of the
libraries the VIMOS pipeline depends on (qfits, CPL) must be
given. The location of the qfits and the CPL libraries may be 
given on the command line, using the options `--with-qfits',
`--with-cpl', and `--with-cext', when runnig the `configure' script,
or by defining the environment variables QFITSDIR and CPLDIR.

The path which has to be used as argument of the options or as the
value of the variables is always the root directory of the
installed package.

Assuming that the environment variables are used and are defined
properly the VIMOS pipeline is built and installed by the steps:

  1. Unpack the VIMOS pipeline distribution.

  2. Go to the top-level directory of the unpacked source tree.

  3. Run the `configure' script with suitable options. A typical
     command line will look like:

       $ ./configure --prefix=<installation path>

     If no `prefix' is given, the `configure' script will use the
     environment variable PIPE_HOME if it is defined, and the default
     path `/usr/local' otherwise.

  4. Execute 

       $ make
       $ make install

     from the shell's prompt.


  5. Make sure that the directories which contain the qfits, CPL and
     VIMOS libraries (usually <installation path>/lib) are added to
     the LD_LIBRARY_PATH environment variable.

This completes the VIMOS pipeline installation. The VIMOS recipes are
ready to run.


Running the recipes:
--------------------

The VIMOS pipeline recipes are not executables, but dynamically
loadable modules, or simply plugins. Therefore one needs a front-end
application to execute these plugins. The advantage of this
architecure is that the same VIMOS pipeline installation can be used
by different front-ends, and can be easily embedded into different
run-time environments.

Currently two front-ends are available. A command line tool called
`EsoRex' and a graphical data file organizer called `Gasgano'. They
are available from `http://www.eso.org/cpl/esorex.html' and 
`http://www.eso.org/gasgano' respectively.

For instructions how to use the VIMOS recipes with any of these
front-ends please refer to the documentation coming with both
packages.

An outline of the configuration of both tools can also be found in the
VIMOS pipeline User's Guide, which can be obtained from 
`http://www.eso.org/projects/dfs/dfs-shared/web/vlt/vlt-instrument-pipelines.html'.


Related Information:
--------------------

For more information about the various packages mentioned here, please
have a look at the following links.

  http://www.eso.org/projects/aot/qfits
  http://www.eso.org/cpl
  http://www.eso.org/cpl/esorex.html
  http://www.eso.org/gasgano
  http://www.eso.org/projects/dfs/dfs-shared/web/vlt/vlt-instrument-pipelines.html


     
Reporting Bugs:
---------------

Please send bug reports and feedback to <usg-help@eso.org>.