Skip to content

ENH: Input consistency across examples in Boltzmann codes #117

@jucordero

Description

@jucordero

Description

Examples across different modules use different arbitrary input arrays and values.

For instance, the Eisenstein & Hu module uses a log-spaced input for the wavenumbers
wavenumber = np.logspace(-3, 1, num=5, base=10.0)
whereas halofit and camb use completely different inputs
wavenumber = np.array([1.e-2, 1.e-1, 1e0])
kvec = np.array([1.00000000e-04, 1.01000000e+01])

This is also observed with redshift input arrays in the galaxy modules.

Depending on the context, it could be a good idea to have a set of predefined inputs and values for the examples, in order to make it easy for us developers and users when building a pipeline.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions