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.
I really like the
SphericalPSandCylindricalPSclasses that we have intuesday. While I understand thatpowerboxis a more generic package that could compute power spectrum in an arbitrary number of dimensions, I think it would be useful ifget_powercould 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 likep_k,k_bins_edges,k_centers,n_modesandvar), the output ofget_powerwould be less confusing.