-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
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
Changing fsky to sky_area #314
Conversation
Looks good! Could you please use Astropy's
— Astropy units will do the rest. |
@ntessore @philipp128 do we need to update the yml files in |
Yes, that's right, good catch! @philipp128: We don't have an automatic way of constructing unitful quantities yet, so you will need to change |
Would this raise an error if the unit is Update: Apparently it also accepts |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
some matters of style, but looking good overall
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great just a couple of small changes
dfda91e
to
8bb6bdd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just spotted that docs/pipeline/examples/lightcone.yml
is still using fsky: 1.0e-6
would recommend changing it to sky_area: 0.05 deg2
so that the plot still has a similar number of galaxies to before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Description
This PR solves #309 .
fsky
was changed tosky_area
which has to be given in sr or deg2 units.Checklist