We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When I run the following code in the v4-prep branch:
v4-prep
lc = p21c.outputs.LightCone.read(fname, lc_path) print(lc.lightcone_redshifts)
I get an error. This is because internally, when calling z_at_value, it is written like this:
z_at_value(self.cosmo_params.cosmo.comoving_distance, d)
An easy fix is to rewrite it as this:
f = lambda x: self.cosmo_params.cosmo.comoving_distance(x).value z_at_value(f, d)
Just wanted to bring this to your attention.
The text was updated successfully, but these errors were encountered:
I think this was just fixed in #392 -- can you try it?
Sorry, something went wrong.
I've tried it and now I have an entirely different issue where I can't open my lightcones at all, I'll open a new issue for clarity
No branches or pull requests
When I run the following code in the
v4-prep
branch:I get an error. This is because internally, when calling z_at_value, it is written like this:
An easy fix is to rewrite it as this:
Just wanted to bring this to your attention.
The text was updated successfully, but these errors were encountered: