Skip to content

Let output of get_power be of a special class #112

@jordanflitter

Description

@jordanflitter

I really like the SphericalPS and CylindricalPS classes that we have in tuesday. While I understand that powerbox is a more generic package that could compute power spectrum in an arbitrary number of dimensions, I think it would be useful if get_power could have a single output of some special class, rather than letting it have a varied number of outputs with different meaning according to the inputs to the function. With such an output class (that could store fields like p_k, k_bins_edges, k_centers, n_modes and var), the output of get_power would be less confusing.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions