MUSE_AMPL(7)
π MUSE_AMPL(7) β muse recipes, but make it a group chat
okay bestie, sit down, hydrate, because we're about to talk about muse_ampl, one of the recipes from the muse recipes manual (that's the 7 in MUSE_AMPL(7), iykyk). it's giving spectroscopy, it's giving pipeline, it's giving "why is my throughput wrong". let's go π¦
β¨ NAME β¨
muse_ampl β determine the instrumental throughput from exposures taken with the pico-amplifier / photo diode readings. that's the whole vibe. we're measuring how much light actually made it through, no cap π₯
π SYNOPSIS π
esorex muse_ampl [OPTIONS] FILE.sof
periodt. that's the summoning spell π«
πΈ DESCRIPTION πΈ
so here's the tea, bestie. this recipe takes several separate amplifier images (they're flat-fields with special FITS headers that contain pico amplifier measurements β yes, fancy) and combines them into one master image file, then computes the instrumental throughput per IFU (and slice). iconic behavior honestly π
the processing pipeline does all of this, in order:
- trims the raw data and records the overscan statistics
- subtracts the bias β and yes, it takes account of the overscan if overscan is not
"none" - optionally subtracts the dark from each raw input image
- converts them from
adutocount - scales them according to their exposure time
- combines them using the input parameters
then, to actually compute the throughput: the image gets converted into a pixel table, the flux is then integrated over the given filter band, and the ratio of the expected flux (that's the FITS header INS.AMPL2.CURR) to the measured flux is taken β in the same units, obviously, we're not chaotic. π
if a geometry table was given as input, the relative area of the IFUs is taken into account when computing the flux per unit area. love that for us.
the resulting ratio is the instrument efficiency (throughput), and it gets saved as QC parameters for the whole input image and per slice in the output pixel table. slay π
π OPTIONS π
bestie, there are a LOT of these. every single one. no skipping. π«Ά
--nifu <int>β which IFU to handle. if it's set to0, all IFUs are processed serially. if it's set to-1, all IFUs are processed in parallel. (int; default:0). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.nifu [default = 0].--overscan <str>β if this is"none", it stops when it detects discrepant overscan levels (seeovscsigma). for"offset"it assumes that the mean overscan level represents the real offset in the bias levels of the exposures involved, and adjusts the data accordingly. for"vpoly", a polynomial is fit to the vertical overscan and subtracted from the whole quadrant. (str; default:Β΄vpolyΒ΄). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.overscan [default = vpoly].--ovscreject <str>β this influences how values are rejected when computing overscan statistics. either no rejection at all ("none"), rejection using the DCR algorithm ("dcr"), or rejection using an iterative constant fit ("fit"). (str; default:Β΄dcrΒ΄). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.ovscreject [default = dcr].--ovscsigma <float>β if the deviation of mean overscan levels between a raw input image and the reference image is higher than|ovscsigma x stdev|, stop the processing. ifoverscan="vpoly", this is used as the sigma rejection level for the iterative polynomial fit (the level comparison is then done afterwards with|100 x stdev|to guard against incompatible settings). has no effect foroverscan="offset". (float; default:30.0). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.ovscsigma [default = 30.0].--ovscignore <int>β the number of pixels of the overscan adjacent to the data section of the CCD that are ignored when computing statistics or fits. (int; default:3). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.ovscignore [default = 3].--combine <str>β type of combination to use (str; default:Β΄sigclipΒ΄). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.combine [default = sigclip].--nlow <int>β number of minimum pixels to reject with minmax (int; default:1). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.nlow [default = 1].--nhigh <int>β number of maximum pixels to reject with minmax (int; default:1). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.nhigh [default = 1].--nkeep <int>β number of pixels to keep with minmax (int; default:1). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.nkeep [default = 1].--lsigma <float>β low sigma for pixel rejection with sigclip (float; default:3.0). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.lsigma [default = 3.0].--hsigma <float>β high sigma for pixel rejection with sigclip (float; default:3.0). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.hsigma [default = 3.0].--fbeam <float>β factor to describe the widening of the beam from the focal plane to photo diode 2. (float; default:1.1). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.fbeam [default = 1.1].--temp <float>β lamp temperature [K] used to create the black body function. (float; default:3200.0). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.temp [default = 3200.0].--savemaster <bool>β save the processed and combined master image before any concolution is done. (bool; default:False). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.savemaster [default = False].--savetable <bool>β save the table with all the processed pixel values. (bool; default:False). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.savetable [default = False].--merge <bool>β merge output products from different IFUs into a common file. (bool; default:False). the full name of this option for the EsoRex configuration file ismuse.muse_ampl.merge [default = False].
π‘ heads up bestie: it is possible to create a configuration file containing these options, along with suitable default values. please refer to the details provided by the 'esorex --help' command.
π§ SEE ALSO π§
the full documentation for the muse pipeline can be downloaded as a PDF file using the following URL:
ftp://ftp.eso.org/pub/dfs/pipelines/muse/muse-pipeline-cookbook-2.8.7.pdf
an overview over the existing ESO pipelines can be found on the web page:
https://www.eso.org/sci/software/pipelines/
basic documentation about the EsoRex program can be found at the esorex(1) man page.
it is possible to call the pipelines from python using the python-cpl package. see https://packages.python.org/python-cpl/index.html for further information.
the other recipes of the muse pipeline are β and yes, we're listing all of them, they're a whole squad π:
muse_astrometry(7)muse_bias(7)muse_create_sky(7)muse_dark(7)muse_exp_align(7)muse_exp_combine(7)muse_flat(7)muse_geometry(7)muse_illum(7)muse_lingain(7)muse_lsf(7)muse_qi_mask(7)muse_scibasic(7)muse_scipost(7)muse_scipost_apply_astrometry(7)muse_scipost_calibrate_flux(7)muse_scipost_combine_pixtables(7)muse_scipost_correct_dar(7)muse_scipost_correct_rv(7)muse_scipost_make_cube(7)muse_scipost_raman(7)muse_scipost_subtract_sky(7)muse_scipost_subtract_sky_simple(7)muse_standard(7)muse_twilight(7)muse_wavecal(7)
β VERSION β
muse_ampl 2.8.7
π AUTHOR π
Peter Weilbacher <https://support.eso.org>
π BUG REPORTS π
please report any problems to https://support.eso.org. alternatively, you may send a report to the ESO User Support Department <usd-help@eso.org>.
π LICENSE π
this file is part of the MUSE Instrument Pipeline Copyright (C) 2005, 2019 European Southern Observatory
this program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
this program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. see the GNU General Public License for more details.
you should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307 USA
and that's the whole page, bestie β¨ this was muse_ampl β version 2.8.7, straight from the muse recipes manual β so go forth, measure that throughput, and remember: you're the main character of your own pipeline π
π¦πΈ
π¦ where this page comes from
- debian bookworm: cpl-plugin-muse-doc 2.8.7+dfsg-3 Β· GPL-v2+
- ubuntu noble: cpl-plugin-muse-doc 2.8.7+dfsg-3 Β· GPL-v2+
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms