Документ взят из кэша поисковой машины. Адрес
оригинального документа
: http://www.sao.ru/fetch/HL/11/examples.html
Дата изменения: Mon Dec 23 18:23:59 2013 Дата индексирования: Fri Feb 28 09:08:30 2014 Кодировка: Поисковые слова: п п п п п п п |
Examples of pipeline processing |
| HyperLeda home | Documentation | Search by name | Search near a position | Define a sample | SQL Search | |
In many cases, raw data are archived and a consisten description of the file (FITS header) allows to process them on the fly. This allows to make customized parameter extractions.
Lets consider as an example this file: L93111HP1/00147, a spectrum of NGC7785.
This first command makes a "pre-view"
display of the image.
o=fa:L93111HP1/00147&z=vg
The following command executes: The
flat-field correction, a removal of skipes (cosmics), the resampling in
wavelength, subtraction of the sky, display of the 2D corrected image,
extraction
of the central 10 arcsec and finally display of the final 1D spectrum.
o=fa:L93111HP1/00147&z=ffc|spk[2]|wrs|sks|vg|xto[a,10]|vs
The commands consists in a series of
pairs parameters=values separated
by the sign &. In these example the parameters are o
and
z respectively corresponding to (o) the address of the data
injected in the pipeline and (z) the suite of commands executed on the
pipeline.
The commands executed on the pipeline are separated with the character |
and have in general arguments given within [ ]. These
arguments
can be omitted when they have a default value.
In this example the address of the data is fa:... (for FITS
archive).
The next example will show other possible address.
The pipeline is executed on a single machine, but a series of pipelines
on differents machine can be attached together. Possibly, arguments of
commands
on the pipeline may also be pipelines.
The type of output is controlled by the parameter a. The next
command
will download the result of the pipeline into a FITS file (the most
useful case).
o=fa:L93111HP1/00147&a=mime%3Aapplication/fits
One more example: Take the spectrum of
a star observed with ELODIE (R=42000), show it, calibrate in physical
flux, show it, broaden it to a velocity dispersion of 200 km/s and
red-shift it to 5000 km/s, show it.
o=fa:LH_ELODIE/00467&z=vs|fca[1,phy]|vs|vsg[5000,200]|vs
It is easy to inject this file into the
processing pipeline. For example the following command takes this
spectra, display it as it is (ie. sampled in log(wavelength))
fG.cgi?c=i&o=http://sdssdp7.fnal.gov/data/dp7.b/spectro/1d_10/0266/1d/spSpec-51602-0266-001.fit&z=xtc[m,1,m,1]|vs
And the next command resample this spectrum in linear wavelength in the
range
450 to 600 nm with a step 0f 0.1 nm, and show the result:
fG.cgi?c=i&0=http://sdssdp7.fnal.gov/data/dp7.b/spectro/1d_10/0266/1d/spSpec-51602-0266-001.fit&z=xtc[m,1,m,1]|wrs[1,4500,6000,1]|vs
HyperLeda | Questions: leda@univ-lyon1.fr |