SMSamuel W Mangham

Samuel W Mangham

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

Current Organizations / Institutes

The organizations/institutes from the scholar's latest article


Samuel W Mangham has a total of 32 co-authors. Here are the top co-authors by number of shared publications:


Latest Publications

  • Open Access

    SIROCCO: a publicly available Monte Carlo ionization and radiative transfer code for astrophysical outflows

    by James H Matthews, Knox S Long, Christian Knigge, Stuart A Sim, Edward J Parkinson, Nick Higginbottom, Samuel W Mangham, Nicolas Scepi, Austen Wallis, Henrietta A Hewitt, et al.

    Outflows are critical components of many astrophysical systems, including accreting compact binaries and active galactic nuclei (AGN). These outflows can significantly affect a system’s evolution and alter its observational appearance by reprocessing the radiation produced by the central engine. sirocco (Simulating Ionization and Radiation in Outflows Created by Compact Objects – or ‘the code formerly known as python’) is a Sobolev-based Monte Carlo ionization and radiative transfer code. It is designed to simulate the spectra produced by any system with an azimuthally symmetric outflow, from spherical stellar winds to rotating, biconical accretion disc winds. Wind models can either be parametrized or imported, e.g. from hydrodynamical simulations. The radiation sources include an optically thick accretion disc and various central sources with flexible spectra and geometries. The code tracks the ‘photon packets’ produced by the sources in any given simulation as they traverse and interact with the wind. The code assumes radiative near-equilibrium, so the thermal and ionization state can be determined iteratively from these interactions. Once the physical properties in the wind have converged, sirocco can be used to generate synthetic spectra at a series of observer sightlines. Here, we describe the physical assumptions, operation, performance and limitations of the code. We validate it against tardis, cmfgen, and cloudy, finding good agreement, and present illustrative synthetic spectra from disc winds in cataclysmic variables, tidal disruption events, AGN, and X-ray binaries. sirocco is publicly available on GitHub, alongside its associated data, documentation and sample input files covering a wide range of astrophysical applications.


  • Open Access

    Kepler Mapper: A flexible Python implementation of the Mapper algorithm.

    by Hendrik van Veen, Nathaniel Saul, David Eargle, Sam Mangham

    Topological data analysis (TDA) is a field of analysis focused on understanding the shape and structure of complex data. By computing topological descriptors of data, such as connected components, loops, and voids, we are better able to find hidden relationships among noisy and high-dimensionality data (Carlsson, 2009; Edelsbrunner & Harer, 2010). However, raw TDA metrics cannot be readily visualized. To address this gap, Singh et al. (2007) developed the Mapper algorithm to facilitate graphical exploration of topological data structures. The work of Lum et al. (2013) sparked widespread interest in the Mapper technique by demonstrating its use in multiple domains, including political science, biology, and sports analytics. This library, Kepler Mapper, is a Python implementation of the Mapper algorithm as first described in the paper "Topological Methods for the Analysis of High Dimensional Data Sets and 3D Object Recognition" (Singh et al., 2007). Kepler Mapper presents an intuitive interface for the Mapper algorithm, and provides multiple comprehension methods for visualizing the network graph that Mapper produces. We leverage Scikit-Learn-API-compatible clustering and scaling algorithms to construct network graphs in a flexible and user-friendly way. We also provide an extensive suite of tutorials detailing the use of Kepler Mapper for simple and complex use cases.


  • Do reverberation mapping analyses provide an accurate picture of the broad-line region?

    by S W Mangham, C Knigge, P Williams, Keith Horne, A Pancoast, J H Matthews, K S Long, S A Sim, N Higginbottom

    Reverberation mapping (RM) is a powerful approach for determining the nature of the broad-line region (BLR) in active galactic nuclei. However, inferring physical BLR properties from an observed spectroscopic time series is a difficult inverse problem. Here, we present a blind test of two widely used RM methods: MEMEcho (developed by Horne) and CARAMEL (developed by Pancoast and collaborators). The test data are simulated spectroscopic time series that track the Hα emission line response to an empirical continuum light curve. The underlying BLR model is a rotating, biconical accretion disc wind, and the synthetic spectra are generated via self-consistent ionization and radiative transfer simulations. We generate two mock data sets, representing Seyfert galaxies and QSOs. The Seyfert model produces a largely negative response, which neither method can recover. However, both fail ‘gracefully', neither generating spurious results. For the QSO model both CARAMEL and expert interpretation of MEMEchoś output both capture the broadly annular, rotation-dominated nature of the line-forming region, though MEMEcho analysis overestimates its size by 50 per cent, but CARAMEL is unable to distinguish between additional inflow and outflow components. Despite fitting individual spectra well, the CARAMEL velocity-delay maps and RMS line profiles are strongly inconsistent with the input data. Finally, since the Hα line-forming region is rotation dominated, neither method recovers the disc wind nature of the underlying BLR model. Thus considerable care is required when interpreting the results of RM analyses in terms of physical models.


  • The reverberation signatures of rotating disc winds in active galactic nuclei

    by S. W. Mangham, C. Knigge, J. H. Matthews, K. S. Long, S. A. Sim, N. Higginbottom

    The broad emission lines (BELs) in active galactic nuclei (AGNs) respond to ionizing continuum variations. The time and velocity dependence of their response depends on the structure of the broad-line region: its geometry, kinematics and ionization state. Here, we predict the reverberation signatures of BELs formed in rotating accretion disc winds. We use a Monte Carlo radiative transfer and ionization code to predict velocity-delay maps for representative high- (C iv) and low-ionization (H α) emission lines in both high- and moderate-luminosity AGNs. Self-shielding, multiple scattering and the ionization structure of the outflows are all self-consistently taken into account, while small-scale structure in the outflow is modelled in the microclumping approximation. Our main findings are as follows: (1) The velocity-delay maps of smooth/microclumped outflows often contain significant negative responses. (2) The reverberation signatures of disc-wind models tend to be rotation dominated and can even resemble the classic ‘red-leads-blue’ inflow signature. (3) Traditional ‘blue-leads-red’ outflow signatures can usually only be observed in the long-delay limit. (4) Our models predict lag–luminosity relationships similar to those inferred from observations, but systematically underpredict the observed centroid delays. (5) The ratio between ‘virial product’ and black hole mass predicted by our models depends on viewing angle. Our results imply that considerable care needs to be taken in interpreting data obtained by observational reverberation mapping campaigns. In particular, basic signatures such as ‘red-leads-blue’, ‘blue-leads-red’ and ‘blue and red vary jointly’ are not always reliable indicators of inflow, outflow or rotation. This may help to explain the perplexing diversity of such signatures seen in observational campaigns to date.


  • Testing quasar unification: radiative transfer in clumpy winds

    by J. H. Matthews, C. Knigge, K. S. Long, S. A. Sim, N. Higginbottom, S. W. Mangham

    Various unification schemes interpret the complex phenomenology of quasars and luminous active galactic nuclei (AGN) in terms of a simple picture involving a central black hole, an accretion disc and an associated outflow. Here, we continue our tests of this paradigm by comparing quasar spectra to synthetic spectra of biconical disc wind models, produced with our state-of-the-art Monte Carlo radiative transfer code. Previously, we have shown that we could produce synthetic spectra resembling those of observed broad absorption line (BAL) quasars, but only if the X-ray luminosity was limited to 1043 erg s−1. Here, we introduce a simple treatment of clumping, and find that a filling factor of ∼0.01 moderates the ionization state sufficiently for BAL features to form in the rest-frame UV at more realistic X-ray luminosities. Our fiducial model shows good agreement with AGN X-ray properties and the wind produces strong line emission in, e.g., Lyα and C iv 1550 Å at low inclinations. At high inclinations, the spectra possess prominent LoBAL features. Despite these successes, we cannot reproduce all emission lines seen in quasar spectra with the correct equivalent-width ratios, and we find an angular dependence of emission line equivalent width despite the similarities in the observed emission line properties of BAL and non-BAL quasars. Overall, our work suggests that biconical winds can reproduce much of the qualitative behaviour expected from a unified model, but we cannot yet provide quantitative matches with quasar properties at all viewing angles. Whether disc winds can successfully unify quasars is therefore still an open question.


  • Radiation levels in the ITER tokamak complex during and after plasma operation

    by Zamir Ghani, Andrew Turner, Sam Mangham, Jonathan Naish, Mercedes Lis, Lee Packer, Michael Loughlin


  • Nuclear analysis and shielding optimisation in support of the ITER In-Vessel Viewing System design

    by Andrew Turner, Raul Pampin, M.J. Loughlin, Zamir Ghani, Gemma Hurst, Alessandro Lo Bue, Samuel Mangham, Adrian Puiu, Shanliang Zheng