Git Product home page Git Product logo

pygrb's People

Contributors

jamespaynter avatar xuanxu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

pygrb's Issues

rates, counts, dead time.

The data loading class appears to be able to read both TTE and pre-binned counts data. However, I cannot find the functionality to handle the binning of the TTE data.

  1. How would TTE data be handled?

  2. I see that you convert rates to counts by multiplying with the duration of the time bin. However, this does not account for the instrumental dead time in the time bin and it results in non-integer values for the Poisson likelihood. It is better to get the counts directly, and multiply the rate function you are estimating by the exposure = bin duration - dead time. This maintains numerical stability and is mathematically proper.

I'm not sure what info is in the BATSE rate files at the moment, but will investigate.

JOSS review: contributor guidelines

JOSS requires:

 Community guidelines: Are there clear guidelines for third parties wishing to 1) Contribute to the software 2) Report issues or problems with the software 3) Seek support

The only contribution information I see is at the bottom of the README.md, which looks more like a TODO list.

Can you expand this section, perhaps explaining that contributions are welcomed in the form of PRs against this repo, support is via issues, etc.

install warnings, "You will not be able to use some of the prebuilt functions"

When doing:

from PyGRB.main.fitpulse import PulseFitter

I get the errors:

22:38 bilby WARNING : You do not have gwpy installed currently. You will  not be able to use some of the prebuilt functions.
22:38 bilby WARNING : You do not have lalsuite installed currently. You will not be able to use some of the prebuilt functions.
22:38 bilby WARNING : You do not have gwpy installed currently. You will  not be able to use some of the prebuilt functions.
22:38 bilby WARNING : You do not have lalsuite installed currently. You will not be able to use some of the prebuilt functions.
22:38 bilby WARNING : You do not have gwpy installed currently. You will  not be able to use some of the prebuilt functions.
22:38 bilby WARNING : You do not have lalsuite installed currently. You will not be able to use some of the prebuilt functions.
22:38 bilby WARNING : You do not have lalsuite installed currently. You will not be able to use some of the prebuilt functions.

These packages are not part of the requirements.txt and I don't see mention of them in the docs.

Are these okay? Perhaps the install docs should address this.

UltraNest support

Would you be interested to add support for https://johannesbuchner.github.io/UltraNest/ ?
The interface should be very similar to pymultinest.

UltraNest is a very reliable tuning-parameter-free algorithm. I have published some examples where the UltraNest algorithm is unbiased while multinest's algorithm (implemented in pymultinest,nestle,dynesty) gives a different answer. UltraNest is a pure-python package and very easy to install with pip or conda.

UltraNest also supports resuming from disk and MPI parallelisation, if that is useful to you.

Perhaps this is already possible for you through bilby.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.