Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time


Peakbagging made easy

Documentation Status

PBjam is toolbox for modeling the oscillation spectra of solar-like oscillators. This involves two main parts: identifying a set of modes of interest, and accurately modeling those modes to measure their frequencies.

Currently, the mode identification is based on fitting the asymptotic relation to the l=2,0 pairs, relying on the cumulative sum of prior knowledge gained from NASA's Kepler mission to inform the fitting process.

Modeling the modes, or 'peakbagging', is done using the HMC sampler from pymc3, which fits a Lorentzian to each of the identified modes, with much fewer priors than during he mode ID process. This allows for a more accurate model of the spectrum of frequencies, than the heavily parameterized models like the asymptotic relation.

Read the docs at


If you want to raise and issue or contribute code to PBjam, see the guidelines on contributing.


There are different ways to contribute to PBjam, the Scientific Influencers help guide the scientific aspects of PBjam, the Chaos Engineers try to break the code or simply report bugs, while the Main Contributors submit Pull Requests with somewhat bigger additions to the code or documentation.

Main Contributors Chaos Engineers Scientific Influencers
Lindsey Carboneau Warrick Ball Othman Benomar
Guy Davies Rafa Garcia Bill Chaplin
Oliver Hall Tanda Li Enrico Corsaro
Alex Lyttle Joel Ong Patrick Gaulme
Martin Nielsen

Mikkel Lund

Benoit Mosser

Andy Moya

Ian Roxburgh


If you use PBjam in your work please cite the PBjam paper (forthcoming), and if possible provide links to the GitHub repository.

We encourage PBjam users to also cite the packages and publications that PBjam makes use of. PBjam will automatically keep track of the publications that were used during a run, and can list them for you in bibtex format (see the Referencing Notebook).


A repo for our peak baggin code and tips on jam







No releases published


No packages published