BEAST-Fitting / megabeast

Hierarchical Bayesian Model for Ensembles of Dust Extinguished Stellar Populations
http://megabeast.readthedocs.io/
2 stars 12 forks source link

Reorg core, docstrings, and tests #50

Closed karllark closed 4 years ago

karllark commented 4 years ago

Reorganizing the core to make it possible to run for a single population instead of only an image. This should allow for simpler runs including fitting on clusters and easier tests.

Updating docstrings and tests as I (re)learn the code in detail as well.

codecov-commenter commented 4 years ago

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6a6c4a4). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #50   +/-   ##
=========================================
  Coverage          ?   21.42%           
=========================================
  Files             ?        7           
  Lines             ?      308           
  Branches          ?        0           
=========================================
  Hits              ?       66           
  Misses            ?      242           
  Partials          ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6a6c4a4...f0dd3ab. Read the comment docs.

karllark commented 4 years ago

Codacy Here is an overview of what got changed by this pull request:


Complexity increasing per file
==============================
- megabeast/tests/test_read_input.py  4
- megabeast/tools/plot_parameter_maps.py  3
- megabeast/tools/plot_input_data.py  35
- megabeast/read_input.py  5
- megabeast/tools/make_naive_maps.py  14
- megabeast/megabeast_fit.py  6

Clones added
============
- megabeast/tools/plot_input_data.py  3

See the complete overview on Codacy

karllark commented 4 years ago

Merging to get the current work in. Things are not really working, but need to work on docs before getting back to fixing the code.