pynucastro.reduction.generate_data module

Contents

pynucastro.reduction.generate_data module#

pynucastro.reduction.generate_data.dataset(network, n=10, permute=True, b_rho=None, b_T=None, b_Z=None)[source]#

Generate a dataset with n datapoints. Will either be returned as a sequence of tuples, each with order (composition, density, temperature) if permute is True (default), or the transpose of that if permute is False. The parameters b_rho, b_T, and b_Z are tuples giving the bounds on density, temperature, and metallicity respectively.

pynucastro.reduction.generate_data.main()[source]#