AWAnsgar Wehrhahn

Ansgar Wehrhahn

*This is an algorithmically generated author record based on publicly available information.

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Ansgar Wehrhahn has a total of 48 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    PySME v1.0: Improved modelling of stellar spectra for survey-scale applications

    by Mingjie Jian, Nikolai Piskunov, Jeff Valenti, Ella Xi Wang, Brian Thorsbro, Henrik Jönsson, Ansgar Wehrhahn

    Stellar abundance analysis relies on flexible, high-performance spectral synthesis. To meet these needs, we present v1.0, an updated Python implementation of Spectroscopy Made Easy (SME) designed for precise and survey-scale modelling of stellar spectra. A central challenge in SME-based synthesis is the efficient treatment of very large line lists, including both the pre-selection of negligible lines and the subsequent formal synthesis. v1.0 introduces a revised line-selection framework based on opacity ratio and line depth, together with dynamic line-list construction and control of the effective wavelength span over which each line contributes to the synthetic spectrum. These workflows support parallel preprocessing of weak-line selection and reduce the line list passed to the synthesis core, thereby improving scalability while preserving synthetic accuracy. v1.0 also incorporates an updated equation-of-state treatment that improves the modelling of hydrogen lines (particularly Balmer features) while maintaining close agreement with previous SME results for metal lines. The Python interface has been further extended to support parameter-dependent derived quantities updated during optimisation, and provides non-local thermodynamic equilibrium (NLTE) departure-coefficient grids for 17 elements. Together, these developments establish v1.0 as a robust and efficient framework for high-precision stellar abundance analyses in large spectroscopic surveys.


  • Open Access

    Optimising spectroscopic observations of transiting exoplanets

    by Linn Boldt-Christmas, Fabio Lesjak, Ansgar Wehrhahn, Nikolai Piskunov, Adam D. Rains, Lisa Nortmann, Oleg Kochukhov

    Context.When observing the atmospheres of transiting exoplanets using high-resolution spectroscopy, the aim is to detect well-resolved spectral features with high signal-to-noise ratios (S/Ns), as is possible today with modern spectrographs. However, obtaining such high-quality observations comes with a trade-off: a lower cadence of fewer, longer exposures across the transit collects more photons thanks to reduced overheads, enhancing the S/N of each observation, while a higher cadence of several shorter exposures minimises spectral feature smearing due to the continuously changing radial velocity of the planet.Aims.Considering that maximising S/N and minimising smearing are both beneficial to analysis, there is a need to identify the optimal compromise between the two for a given target. In this work, we aim to establish where this compromise lies for a typical exoplanet transit observation in order to benefit future data collection and subsequent interpretation.Methods.We modelled real transit events based on targets as they would be observed with VLT/CRIRES+ at Paranal Observatory, Chile. Creating four hypothetical scenarios, we simulated each set of transmission spectra across 100 realisations of the same transit event in order to vary the time resolution only. We removed telluric and stellar lines from these data sets using the SYSREM algorithm and analysed them through cross-correlation with model templates, measuring how successfully each time resolution and case detected the planetary signal and exploring how the results vary.Results.We demonstrate that there is a continuous change in the significance of the cross-correlation detection based on the trade-off between high and low time resolutions, and that, averaged over a large number of realisations, the function of this significance has clear maxima. The strength and location of these maxima vary depending on, for example, planet system parameters, instrumentation, and the number of removal iterations. We discuss why observers should therefore take several factors into account using a strategy akin to the ‘exposure triangle’ employed in traditional photography where a balance must be struck by considering the full context of the observation. Our method is robust and may be employed by observers to estimate the best observational strategies for other targets.


  • Open Access

    PySME

    by A. Wehrhahn, N. Piskunov, T. Ryabchikova

    Context.The characterization of exoplanets requires the reliable determination of the fundamental parameters of their host stars. Spectral fitting plays an important role in this process. For the majority of stellar parameters, matching synthetic spectra to the observations provides a robust and unique solution for the fundamental parameters, such as effective temperature, surface gravity, abundances, radial and rotational velocities, among others.Aims.Here, we present a new software package for fitting high-resolution stellar spectra that is easy to use, available for common platforms, and free from commercial licenses. We call it PySME. It is based on the proven Spectroscopy Made Easy package, later referred to as IDL SME or “original” SME.Methods.The IDL (Interactive Data Language) part of the original SME code has been rewritten in Python, but we kept the efficient C++ and FORTRAN code responsible for molecular-ionization equilibrium, opacities, and spectral synthesis. In the process we updated some components of the optimization procedure to offer more flexibility and better analysis of the convergence. The result is a more modern package with the same functionality as the original SME.Results.We applied PySME to a few stars of different spectral types and compared the derived fundamental parameters with the results from IDL SME and other techniques. We show that PySME works at least as well as the original SME.


  • Open Access

    Non-LTE abundance corrections for late-type stars from 2000 Å to 3 µm

    by K. Lind, T. Nordlander, A. Wehrhahn, M. Montelius, Y. Osorio, P. S. Barklem, M. Afşar, C. Sneden, C. Kobayashi

    Context. It is well known that cool star atmospheres depart from local thermodynamic equilibrium (LTE). Making an accurate abundance determination requires taking those effects into account, but the necessary non-LTE (hereafter NLTE) calculations are often lacking. Aims. Our goal is to provide detailed estimates of NLTE effects for FGK type stars for all spectral lines from the ultraviolet (UV) to the near infrared (NIR) that are potentially useful as abundance diagnostics. The first paper in this series focusses on the light elements Na, Mg, and Al. Methods. The code PySME was used to compute curves of growth for 2158 MARCS model atmospheres in the parameter range 3800 < Teff < 8000 K, 0.0 < log(g) < 5.5, and −5 < [Fe/H] < +0.5. Two microturbulence values, 1 and 2 kms−1, and nine abundance points spanning −1 < [X/Fe] < 1 for element X, are used to construct individual line curves of growth by calculating the equivalent widths of 35 Na lines, 134 Mg lines, and 34 Al lines. The lines were selected in the wavelength range between 2000 Å and 3 µm. Results. We demonstrate the power of the new grids with LTE and NLTE abundance analysis by means of equivalent width measurements of five benchmark stars; the Sun, Arcturus, HD 84937, HD 140283 and HD 122563. For Na, the NLTE abundances are lower than in LTE and show markedly reduced line-to-line scatter in the metal-poor stars. For Mg, we confirm previous reports of a significant ~0.25 dex LTE ionisation imbalance in metal-poor stars that is only slightly improved in NLTE (~0.18 dex). LTE abundances based on Mg II lines agree better with models of Galactic chemical evolution. For Al, NLTE calculations strongly reduce an ~0.6 dex ionisation imbalance seen in LTE for the metal-poor stars. The abundance corrections presented in this work are in good agreement with previous studies for the subset of lines that overlap, with the exception of strongly saturated lines. Conclusions. A consensus between different abundance diagnostics is the most powerful tool available to stellar spectroscopists to assess the accuracy of the models. Here we report that NLTE abundance analysis in general leads to improved agreement, in particular for metal-poor stars. The residual scatter is believed to be caused mainly by unresolved blends and/or poor atomic data, with the notable exception of Mg, which calls for further investigation.


  • Optimal extraction of echelle spectra: Getting the most out of observations

    by Nikolai Piskunov, Ansgar Wehrhahn, Thomas Marquart

    Context. The price of instruments and observing time on modern telescopes is quickly increasing. Therefore, it is worth revisiting the data reduction algorithms to extract every bit of scientific information from available observations. Echelle spectrographs are typical instruments used in high-resolution spectroscopy, but attempts to improve the wavelength coverage and versatility of these instruments has resulted in a complicated and variable footprint of the entrance slit projection onto the science detector. Traditional spectral extraction methods generally fail to perform a truly optimal extraction when the slit image is not aligned with the detector columns and, instead, is tilted or even curved. Aims. Here, we present the mathematical algorithms and examples of their application to the optimal extraction and the following reduction steps for echelle spectrometers equipped with an entrance slit that is imaged with various distortions. The new method minimises the loss of spectral resolution, maximises the signal-to-noise ratio, and efficiently identifies local outliers. In addition to the new optimal extraction, we present order splicing and a more robust continuum normalisation algorithm. Methods. We developed and implemented new algorithms that create a continuum-normalised spectrum. In the process, we account for the (variable) tilt or curvature of the slit image on the detector and achieve optimal extraction without prior assumptions about the slit illumination. Thus, the new method can handle arbitrary image slicers, slit scanning, and other observational techniques aimed at increasing the throughput or dynamic range. Results. We compare our methods with other techniques for different instruments to illustrate the superior performance of the new algorithms compared to commonly used procedures. Conclusions. Advanced modelling of the focal plane requires significant computational effort but it has proven worthwhile thanks to the retrieval of a greater store of science information from every observation. The described algorithms and tools are freely available as part of our PyReduce package.


  • The GALAH Survey: non-LTE departure coefficients for large spectroscopic surveys

    by A. M. Amarsi, K. Lind, Y. Osorio, T. Nordlander, M. Bergemann, H. Reggiani, E. X. Wang, S. Buder, M. Asplund, P. S. Barklem, et al.

    Massive sets of stellar spectroscopic observations are rapidly becoming available and these can be used to determine the chemical composition and evolution of the Galaxy with unprecedented precision. One of the major challenges in this endeavour involves constructing realistic models of stellar spectra with which to reliably determine stellar abundances. At present, large stellar surveys commonly use simplified models that assume that the stellar atmospheres are approximately in local thermodynamic equilibrium (LTE). To test and ultimately relax this assumption, we have performed non-LTE calculations for 13 different elements (H, Li, C, N, O, Na, Mg, Al, Si, K, Ca, Mn, and Ba), using recent model atoms that have physically-motivated descriptions for the inelastic collisions with neutral hydrogen, across a grid of 3756 1D MARCS model atmospheres that spans 3000 ≤ Teff∕K ≤ 8000, − 0.5 ≤log g∕cm s−2 ≤ 5.5, and − 5 ≤ [Fe/H] ≤ 1. We present the grids of departure coefficients that have been implemented into the GALAH DR3 analysis pipeline in order to complement the extant non-LTE grid for iron. We also present a detailed line-by-line re-analysis of 50 126 stars from GALAH DR3. We found that relaxing LTE can change the abundances by between − 0.7 dex and + 0.2 dex for different lines and stars. Taking departures from LTE into account can reduce the dispersion in the [A/Fe] versus [Fe/H] plane by up to 0.1 dex, and it can remove spurious differences between the dwarfs and giants by up to 0.2 dex. The resulting abundance slopes can thus be qualitatively different in non-LTE, possibly with important implications for the chemical evolution of our Galaxy. The grids of departure coefficients are publicly available and can be implemented into LTE pipelines to make the most of observational data sets from large spectroscopic surveys.


  • Top Cited Papers

    Hidden magnetic fields of young suns

    by O. Kochukhov, T. Hackman, J. J. Lehtinen, A. Wehrhahn

    Global magnetic fields of active solar-like stars are, nowadays, routinely detected with spectropolarimetric measurements and are mapped with Zeeman Doppler imaging (ZDI). However, due to the cancellation of opposite field polarities, polarimetry only captures a tiny fraction of the magnetic flux and cannot assess the overall stellar surface magnetic field if it is dominated by a small-scale component. The analysis of Zeeman broadening in high-resolution intensity spectra can reveal these hidden complex magnetic fields. Historically, there were very few attempts to obtain such measurements for G dwarf stars due to the difficulty of disentangling the Zeeman effect from other broadening mechanisms affecting spectral lines. Here, we developed a new magnetic field diagnostic method based on relative Zeeman intensification of optical atomic lines with different magnetic sensitivity. By using this technique, we obtained 78 field strength measurements for 15 Sun-like stars, including some of the best-studied young solar twins. We find that the average magnetic field strengthBfdrops from 1.3−2.0 kG in stars younger than about 120 Myr to 0.2−0.8 kG in older stars. The mean field strength shows a clear correlation with the Rossby number and with the coronal and chromospheric emission indicators. Our results suggest that magnetic regions have roughly the same local field strengthB ≈ 3.2 kG in all stars, with the filling factorfof these regions systematically increasing with stellar activity. In comparing our results with the spectropolarimetric analyses of global magnetic fields in the same stars, we find that ZDI recovers about 1% of the total magnetic field energy in the most active stars. This figure drops to just 0.01% for the least active targets.


  • Open Access

    SETI with Gaia: The Observational Signatures of Nearly Complete Dyson Spheres

    by Erik Zackrisson, Andreas J. Korn, Ansgar Wehrhahn, Johannes Reiter

    A star enshrouded in a Dyson sphere with a high covering fraction may manifest itself as an optically subluminous object with a spectrophotometric distance estimate significantly in excess of its parallax distance. Using this criterion, the Gaia mission will in coming years allow for Dyson sphere searches that are complementary to searches based on waste-heat signatures at infrared wavelengths. A limited search of this type is also possible at the current time, by combining Gaia parallax distances with spectrophotometric distances from ground-based surveys. Here, we discuss the merits and shortcomings of this technique and carry out a limited search for Dyson sphere candidates in the sample of stars common to Gaia Data Release 1 and Radial Velocity Experiment (RAVE) Data Release 5. We find that a small fraction of stars indeed display distance discrepancies of the type expected for nearly complete Dyson spheres. To shed light on the properties of objects in this outlier population, we present follow-up high-resolution spectroscopy for one of these stars, the late F-type dwarf TYC 6111-1162-1. The spectrophotometric distance of this object is about twice that derived from its Gaia parallax, and there is no detectable infrared excess. While our analysis largely confirms the stellar parameters and the spectrophotometric distance inferred by RAVE, a plausible explanation for the discrepant distance estimates of this object is that the astrometric solution has been compromised by an unseen binary companion, possibly a rather massive white dwarf (≈1 M ⊙). This scenario can be further tested through upcoming Gaia data releases.