Git Product home page Git Product logo

gbm_kitty's Introduction

drawing

GBM Kitty

Database, reduce, and analyze GBM data without having to know anything. Curiosity killed the catalog.


What is this?

  • Creates a MongoDB database of GRBs observed by GBM.
  • Heuristic algorithms are applied to search for the background regions in the time series of GBM light curves.
  • Analysis notebooks can be generated on the fly for both time-instegrated and time-resolved spectral fitting.

Of course, this analysis is highly opinionated.

What this is not

Animal cruelty.

What can you do?

Assuming you have built a local database (tis possible, see below), just type:

$> get_grb_analysis --grb GRBYYMMDDxxx

drawing

magic happens, and then you can look at your locally built GRB analysis notebook.

If you want to do more, go ahead and fit the spectra:

$> get_grb_analysis --grb GRBYYMMDDxxx --run-fit

drawing

And your automatic (but mutable) analysis is ready:

drawing

Building the database

The concept behind this is to query the Fermi GBM database for basic trigger info, use this in combination tools such as gbmgeometry to figure out which detectors produce the best data for each GRB, and then figure out preliminary selections / parameters / setups for subsequent analysis.

$> build_catalog --n_grbs 100 --port 8989

This process starts with launching luigi which mangages the pipline:

drawing

All the of the metadata about the process is stored in a mondoDB database which can be referenced later when building analyses.

gbm_kitty's People

Contributors

grburgess avatar

Stargazers

 avatar

Watchers

 avatar

gbm_kitty's Issues

Error in fitting data

Hello, Sir.

The following error occurs when I use gbm_kitty module to fit GBM data.
(base)jason@DESKTOP-U2B4NIQ:~$ source activate threeML (threeML) jason@DESKTOP-U2B4NIQ:~$ get_grb_analysis --grb GRB120227725 Traceback (most recent call last): File "/home/jason/.conda/envs/threeML/bin/get_grb_analysis", line 33, in <module> sys.exit(load_entry_point('gbm-kitty==0+unknown', 'console_scripts', 'get_grb_analysis')()) File "/home/jason/.conda/envs/threeML/bin/get_grb_analysis", line 25, in importlib_load_entry_point return next(matches).load() File "/home/jason/.conda/envs/threeML/lib/python3.7/site-packages/importlib_metadata/__init__.py", line 203, in load module = import_module(match.group('module')) File "/home/jason/.conda/envs/threeML/lib/python3.7/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1006, in _gcd_import File "<frozen importlib._bootstrap>", line 983, in _find_and_load File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked ModuleNotFoundError: No module named 'gbm_kitty.scripts'

I hope you can help me solve this problem, thank you!

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.