Context. The interaction of the light from astronomical objects with the constituents of the Earth’s atmosphere leads to the formation of telluric absorption lines in ground-based collected spectra. Correcting for these lines, mostly affecting the red and infrared region of the spectrum, usually relies on observations of specific stars obtained close in time and airmass to the science targets, therefore using precious observing time. Aims. We present molecfit, a tool to correct for telluric absorption lines based on synthetic modelling of the Earth’s atmospheric transmission. Molecfit is versatile and can be used with data obtained with various ground-based telescopes and instruments.Methods. Molecfit combines a publicly available radiative transfer code, a molecular line database, atmospheric profiles, and various kernels to model the instrument line spread function. The atmospheric profiles are created by merging a standard atmospheric profile representative of a given observatory’s climate, of local meteorological data, and of dynamically retrieved altitude profiles for temperature, pressure, and humidity. We discuss the various ingredients of the method, its applicability, and its limitations. We also show examples of telluric line correction on spectra obtained with a suite of ESO Very Large Telescope (VLT) instruments.Results. Compared to previous similar tools, molecfit takes the best results for temperature, pressure, and humidity in the atmosphere above the observatory into account. As a result, the standard deviation of the residuals after correction of unsaturated telluric lines is frequently better than 2% of the continuum.Conclusions. Molecfit is able to accurately model and correct for telluric lines over a broad range of wavelengths and spectral resolutions. The accuracy reached is comparable to or better than the typical accuracy achieved using a telluric standard star observation. The availability of such a general tool for telluric absorption correction may improve future observational and analysing strategies, as well as empower users of archival data.
We investigate the impact of galactic mass loss triggered by ram-pressure stripping of cluster galaxies on the evolution of the intra-cluster medium (ICM). We use combined N-body and hydrodynamic simulations together with a phenomenological galaxy formation model and a prescription of the effect of ram-pressure stripping on the galaxies. We analyze the effect of galaxy – ICM interaction for different model clusters with different masses and different merger histories. Our simulations show that ram-pressure stripping can account for ~10% of the overall observed level of enrichment in the ICM within a radius of 1.3 Mpc. The efficiency of metal ejection of cluster galaxies depends in the first few Gyr of the simulation mainly on the cluster mass and is significantly increased during major merger events. Additionally we show that ram-pressure stripping is most efficient in the center of the galaxy cluster and the level of enrichment drops quite fast at larger radii. We present emission-weighted metallicity maps of the ICM which can be compared with X-ray observations. The resulting distribution of metals in the ICM shows a complex pattern with stripes and plumes of metal-rich material. The metallicity maps can be used to trace the present and past interactions between the ICM and cluster galaxies.