Population class extension: Moe_di_Stefano_2017 module

Module containing the functions to handle the Moe&Distrefano data

This class object is an extension to the population grid object

class binarycpython.utils.population_extensions.Moe_di_Stefano_2017.Moe_di_Stefano_2017(**kwargs)[source]

Bases: object

Extension to the population grid object that contains functionality to handle handle the Moe & distefano distributions

Moe_di_Stefano_2017(options=None)[source]

Function to handle setting the user input settings, set up the data and load that into interpolators and then set the distribution functions

Takes a dictionary as its only argument

get_Moe_di_Stefano_2017_default_options()[source]

Function that returns the default options for the Moe & diStefano grid options

get_Moe_di_Stefano_2017_default_options_description()[source]

Function to return the descriptions for all the Moe & diStefano grid options

get_moe_di_stefano_dataset(options, verbosity=0)[source]

Function to get the default Moe and di Stefano dataset or accept a user input.

Returns a dict containing the (JSON) data.

set_moe_di_stefano_settings(options=None)[source]

Function to set user input configurations for the Moe & di Stefano methods

If nothing is passed then we just use the default options