concord

Tools for analysing thermonuclear bursts, and comparing with numerical models

https://github.com/outs1der/concord

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: arxiv.org, iop.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.9%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Tools for analysing thermonuclear bursts, and comparing with numerical models

Basic Info
  • Host: GitHub
  • Owner: outs1der
  • License: gpl-3.0
  • Language: Python
  • Default Branch: main
  • Size: 11.7 MB
Statistics
  • Stars: 6
  • Watchers: 3
  • Forks: 0
  • Open Issues: 4
  • Releases: 1
Created over 6 years ago · Last pushed over 2 years ago
Metadata Files
Readme License Citation

README.md

README

This repository contains code intended to simplify the analysis of astronomical X-ray data of thermonuclear (type-I) bursts.

Full documentation can be found at https://burst.sci.monash.edu/concord/

This code is under active development, but the v1.0.0 release is associated with a companion paper accepted by Astrophysical Journal Supplements (see Galloway et al. 2022, also available at arXiv:2210.03598). A preprint of the paper is available in the doc subdirectory of this repository

To get started, look at the Inferring burster properties jupyter notebook

What is this repository for?

  • Analysis of thermonuclear X-ray bursts
  • Reading in and plotting thermonuclear burst data and models
  • Performing model-observation comparisons

How do I get set up?

Use the included environment.yml file to set up a conda environment with the required dependencies:

conda env create -f environment.yml

This will create an environment called concord, which you can activate with:

conda activate concord

Then add concord to the local environment with: python3 -m pip install .

You can then import the repository and use the functions. Here's a very simple example, to find the peak luminosity of a burst from 4U 0513+40 measured by RXTE, as part of the MINBAR sample. The first part calculates the isotropic luminosity, neglecting the uncertainty in both the peak flux and the distance: ```

import concord as cd import astropy.units as u Fpk, eFpk = 21.72, 0.6 # 1E-9 erg/cm^2/s bolometric; MINBAR #3443 d = (10.32, 0.24, 0.20) # asymmetric errors from Watkins et al. 2015 liso = cd.luminosity( Fpk, dist=d[0], isotropic=True ) WARNING:homogenizeparams:no bolometric correction applied print (liso) 2.767771097997098e+38 erg / s The second part takes into account both the uncertainties in the peak flux and distance (including the asymmetric errors), and also includes the model-predicted effect of the high system inclination (>80 degrees): lasym = cd.luminosity( (Fpk, eFpk), dist=d, burst=True, imin=80, imax=90, fulldist=True) WARNING:homogenizeparams:no bolometric correction applied lc = lasym['lum'].pdfpercentiles([50, 50 - cd.CONF / 2, 50 + cd.CONF / 2]) lunit = 1e38*u.erg/u.s print ('''\nIsotropic luminosity is {:.2f}e38 erg/s ... Taking into account anisotropy, ({:.2f}-{:.2f}+{:.2f})e38 erg/s'''.format(liso/lunit, ... lc[0]/lunit, ... (lc[0]-lc[1])/lunit, (lc[2]-lc[0])/lunit)) Isotropic luminosity is 2.77e38 erg/s Taking into account anisotropy, (4.85-0.43+0.51)e38 erg/s `` With thefulldist=Trueoption, the function returns a dictionary with the Monte-Carlo generated distribution of the result (keylum) and all the intermediate quantities. Check theInferring burster properties` notebook for additional demonstrations of usage

There are a number of sources for bursts to analyse: * The Multi-INstrument Burst ARchive (MINBAR) contains more than 7000 events from 85 sources, and you can download the entire dataset and a Python repository to access them from http://burst.sci.monash.edu and links therein * The reference burst sample including lightcurves and recurrence times from http://burst.sci.monash.edu/reference * Kepler-predicted model bursts from http://burst.sci.monash.edu/kepler

Or, you can define routines to read in your own model predictions, for example based on the KeplerBurst class

Who do I talk to?

  • Duncan.Galloway@monash.edu

Why concord?

Because we're trying to achieve a "concordance" fit to a wide range of burst data. Plus, concord was cool

Owner

  • Name: Duncan Galloway
  • Login: outs1der
  • Kind: user
  • Location: Melbourne, Australia
  • Company: Monash University

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
version: 1.0.0
doi: 10.26180/21287616.v1 
date-released: 2022-11-07
url: "https://github.com/outs1der/concord"
preferred-citation:
  type: preprint
  authors:
  - family-names: "Galloway"
    given-names: "Duncan K."
    orcid: "https://orcid.org/0000-0002-6558-5121"
  - family-names: "Johnston"
    given-names: "Zac"
    orcid: "https://orcid.org/0000-0003-4023-4488"
  - family-names: "Goodwin"
    given-names: "Adelle J."
    orcid: "https://orcid.org/0000-0003-3441-8299"
  - family-names: "He"
    given-names: "Chong Chong"
    orcid: "https://orcid.org/0000-0002-2332-8178"
  journal: "Astrophysical Journal Supplements (accepted)"
  title: "Robust inference of neutron-star parameters from thermonuclear burst observations"
  value: arXiv:2210.03598

GitHub Events

Total
Last Year

Dependencies

setup.py pypi
environment.yml conda
  • astropy 5.0.*
  • jupyter 1.0.*
  • matplotlib 3.5.*
  • pip
  • python 3.8.5.*
  • scipy 1.7.*