General Improvements to stingray.modeling

Open
#520 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 3 days

@PrakharQ is already working on this.

Since Mar 3, 2021.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by reviewing the stingray.modeling interface and the referenced issues #187, #455, and #463. Compare the current modeling approach with the requested bounds, emcee3, pymc3, Hamiltonian Monte Carlo, autodiff, and variational inference support. The work is done only when the chosen improvements are defined and their modeling behavior is supported and tested.

Written by the indexing model from the issue text.

Description

enhancement feature GSoC 2021 help wanted medium-priority

A bunch of things that I think could improve the modeling interface:

  • make stingray.modeling compatible with emcee3 (issue #455)
  • make sure stingray.modeling supports bounds (issue #187 and issue #463); I suspect this might be an issue with the underlying scipy.optimize that I don't understand
  • implement support for pymc3 and Hamiltonian Monte Carlo, which should make this much faster
  • implement support for autodiff and more modern fitting methods (e.g variational inference)
  • Move away from using astropy.models: using the astropy models keeps causing issues primarily for threads and multiprocessing, but also makes it harder to set up functions with logarithmic parameters and complex priors. I'd kind of like to move away from the astropy.models interface, but that requires some more thought.
Dominant language
Python
Stars
229
Forks
196
Avg merge
4d 12h
Merged PRs (30d)
20

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from StingraySoftware/stingray

All issues in StingraySoftware/stingray

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.