gadget-framework / rgadget

Rgadget is a set of useful utilities for gadget
6 stars 12 forks source link

gadgetlikelihoodcomponent: Move likelihood component code over from MFDB #88

Closed lentinj closed 5 years ago

lentinj commented 5 years ago

Here's a quick stab at what I was talking about. Note that all of gadget_x_component is exported, so you can reference them directly (and get help on what they require).

The existing method of choosing component type by name is still supported.

The tests from MFDB have come across too, and all still pass, although the code is a bit garbled as it's been hacked up to work with rgadget methods instead of mfdb.

Some more documentation for each of the component methods would be useful, but it will obviously end up just replicating the user guide at some point.