5 research outputs found

    Fast fitting of spectral lines with Gaussian and hyperfine structure models

    Full text link
    The fitting of spectral lines is a common step in the analysis of line observations and simulations. However, the observational noise, the presence of multiple velocity components, and potentially large data sets make it a non-trivial task. We present a new computer program Spectrum Iterative Fitter (SPIF) for the fitting of spectra with Gaussians or with hyperfine line profiles. The aim is to show the computational efficiency of the program and to use it to examine the general accuracy of approximating spectra with simple models. We describe the implementation of the program. To characterise its performance, we examined spectra with isolated Gaussian components or a hyperfine structure, also using synthetic observations from numerical simulations of interstellar clouds. We examined the search for the globally optimal fit and the accuracy to which single-velocity-component and multi-component fits recover true values for parameters such as line areas, velocity dispersion, and optical depth. The program is shown to be fast, with fits of single Gaussian components reaching on graphics processing units speeds approaching one million spectra per second. This also makes it feasible to use Monte Carlo simulations or Markov chain Monte Carlo calculations for the error estimation. However, in the case of hyperfine structure lines, degeneracies affect the parameter estimation and can complicate the derivation of the error estimates. The use of many random initial values makes the fits more robust, both for locating the global χ2\chi^2 minimum and for the selection of the optimal number of velocity components.Comment: Accepted for publication in A&

    Cosmic rays and random magnetic traps

    Full text link
    The spatial distribution of cosmic ray (CR) particles in the interstellar medium (ISM) is of major importance in radio astronomy, where its knowledge is essential for the interpretation of observations, and in theoretical astrophysics, where CR contribute to the structure and dynamics of the ISM. Local inhomogeneities in interstellar magnetic field strength and structure can affect the local diffusivity and ensemble dynamics of the cosmic ray particles. Magnetic traps (regions between magnetic mirrors located on the same magnetic line) can lead to especially strong and persistent features in the CR spatial distribution. Using test particle simulations, we study the spatial distribution of an ensemble of CR particles (both protons and electrons) in various magnetic field configurations, from an idealized axisymmetric trap to those that emerge in intermittent (dynamo-generated) random magnetic fields. We demonstrate that both the inhomogeneity in the CR sources and the energy losses by the CR particles can lead to persistent local inhomogeneities in the CR distribution and that the protons and electrons have different spatial distributions. Our results can have profound implications for the interpretation of the synchrotron emission from astronomical objects, and in particular its random fluctuations.Comment: 19 pages, 18 figure

    Nonlinear magnetic buoyancy instability and turbulent dynamo

    Full text link
    Stratified disks with strong horizontal magnetic fields are susceptible to magnetic buoyancy instability (MBI). Modifying the magnetic field and gas distributions, this can play an important role in galactic evolution. The MBI and the Parker instability, in which cosmic rays exacerbate MBI, are often studied using an imposed magnetic field. However, in galaxies and accretion discs, the magnetic field is continuously replenished by a large-scale dynamo action. Using non-ideal MHD equations, we model a section of the galactic disc (we neglect rotation and cosmic rays considered elsewhere), in which the large-scale field is generated by an imposed α\alpha-effect of variable intensity to explore the interplay between dynamo instability and MBI. The system evolves through three distinct phases: the linear (kinematic) dynamo stage, the onset of linear MBI when the magnetic field becomes sufficiently strong and the nonlinear, statistically steady state. Nonlinear effects associated with the MBI introduce oscillations which do not occur when the field is produced by the dynamo alone. The MBI initially accelerates the magnetic field amplification but the growth is quenched by the vertical motions produced by MBI. We construct a 1D model, which replicates all significant features of 3D simulations to confirm that magnetic buoyancy alone can quench the dynamo and is responsible for the magnetic field oscillations. Unlike with an imposed magnetic field (arXiv:2305.03318,arXiv:2212.03215), the nonlinear interactions do not reduce the gas scale height, so the consequences of the magnetic buoyancy depend on how the magnetic field is maintained

    Steady states of the Parker instability: the effects of rotation

    Full text link
    We model the Parker instability in vertically stratified isothermal gas using non-ideal MHD three-dimensional simulations. Rotation, especially differential, more strongly and diversely affects the nonlinear state than the linear stage (where we confirm the most important conclusions of analytical models), and stronger than any linear analyses predict. Steady state magnetic fields are stronger and cosmic ray energy density higher than in comparable nonrotating systems. Transient gas outflows induced by the nonlinear instability persist longer, of order 2 Gyr, with rotation. Stratification combined with (differential) rotation drives helical flows, leading to mean-field dynamo. Consequently, the nonlinear state becomes oscillatory (while both the linear instability and the dynamo are non-oscillatory). The horizontal magnetic field near the midplane reverses its direction propagating to higher altitudes as the reversed field spreads buoyantly. The spatial pattern of the large-scale magnetic field may explain the alternating magnetic field directions in the halo of the edge-on galaxy NGC 4631. Our model is unique in producing a large-scale magnetic structure similar to such observation. Furthermore, our simulations show that the mean kinetic helicity of the magnetically driven flows has the sign opposite to that in the conventional non-magnetic flows. This has profound consequences for the nature of the dynamo action and large-scale magnetic field structure in the coronae of spiral galaxies which remain to be systematically explored and understood. We show that the energy density of cosmic rays and magnetic field strength are not correlated at scales of order a kiloparsec

    Steady states of the Parker instability : the effects of rotation

    No full text
    Funding Information: We are grateful to Axel Brandenburg and Kandaswamy Subramanian for useful discussions. GRS would like to thank the Isaac Newton Institute for Mathematical Sciences, Cambridge, for support and hospitality during the programme ‘Frontiers in dynamo theory: from the Earth to the stars’, where work on this paper was undertaken. This work was supported by EPSRC grant no. EP/R014604/1. We are thankful to the anonymous referee for a very insightful review. Publisher Copyright: © 2023 The Author(s). Published by Oxford University Press on behalf of Royal Astronomical Society.We model the Parker instability in vertically stratified isothermal gas using non-ideal MHD three-dimensional simulations. Rotation, especially differential, more strongly and diversely affects the nonlinear state than the linear stage (where we confirm the most important conclusions of analytical models), and stronger than any linear analyses predict. Steady-state magnetic fields are stronger and cosmic ray energy density is higher than in comparable non-rotating systems. Transient gas outflows induced by the nonlinear instability persist longer, of order 2 Gyr, with rotation. Stratification combined with (differential) rotation drives helical flows, leading to mean-field dynamo. Consequently, the nonlinear state becomes oscillatory (while both the linear instability and the dynamo are non-oscillatory). The horizontal magnetic field near the mid-plane reverses its direction propagating to higher altitudes as the reversed field spreads buoyantly. The spatial pattern of the large-scale magnetic field may explain the alternating magnetic field directions in the halo of the edge-on galaxy NGC 4631. Our model is unique in producing a large-scale magnetic structure similar to such observation. Furthermore, our simulations show that the mean kinetic helicity of the magnetically driven flows has the sign opposite to that in the conventional non-magnetic flows. This has profound consequences for the nature of the dynamo action and large-scale magnetic field structure in the coronae of spiral galaxies that remain to be systematically explored and understood. We show that the energy density of cosmic rays and magnetic field strength are not correlated at scales of order 1 kiloparsec.Peer reviewe
    corecore