Michel Aguena
Michel Aguena
I agree with this solution, as long as there is consistency (`n==2` also works btw).
@hsinfan1996, thanks for the suggestion. But I think there is an even simpler solution: ``` def _is_valid(arg, valid_type): if valid_type == "function": return callable(arg) if valid_type == "int_array": return np.array(arg).dtype.char...
A piece of code that could do that would be: class CLMModeling: def _set_cosmo(self, cosmo, CosmoOutput, valid_cosmo): r""" Sets the cosmology to the internal cosmology object Parameters ---------- cosmo: clmm.Comology...
A version of the code with this implementation can be found [here](https://github.com/LSSTDESC/CLMM/tree/8d0bf55743838357833a99b6e3282bac550095d3).
@combet qp has been implemented here, it just waiting for PR #596 to be updated.
Hi @vitenti since you were updating the NumCosmo API use in CLMM (PR #615 was just merged), could you take a look at this issue when you have some time?...
@hsinfan1996 is ccl going to require this newer scipy version too?
For coverage: - [x] Using coveralls - [x] Checking for coverage on command line
I agree with @cristobal-sifon and @combet that we should keep it as simple as possible. I believe we could have some wrapper functions that just pass the necessary info from...
The current state of `CLMM` (the version prepared for the paper) does not support pdfs. Yes, the plan is to have API entry for pdfs in `GalaxyCluster.py` and `gcdata` but,...