November code push ideas #188
Closed
samueldmcdermott
started this conversation in
General
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
pyabelwould, so we can use whichever one we think is bestR200, rather than making sure that the line of sight distance doesn't exceedR200) the shapes agree within small factors across the whole sky, which is awesome -- excellent work @kbanker !pyabelcode as possible errors (the central pixel is aNaNand the edges have some distortion), which can be kludged, but it's not going to work perfectly out of the box -- so this is a reason to stick with our ownnp.trapzbroadcasting, avoiding a nestedforloop that includes anp.where), but I don't know what the precise impacts would be -- this is a very deep rabbit hole that we may or may not want to go down]. It's likely thatpyabelis substantially faster, which might be a reason to switch, but this is not certainpyabelis or will continue to be -- it's definitely better thanpreprofit(pushes within the last month) but it's a relatively small package and things could change any time**kwargsPth(andP200andP0) for the thermal pressure and theneppfor the electron pressure?Pemight make it a little more clear that they're relatedepp_to_yis called which we could make globals (not very important, just kind of nice)load_varsor the individual componentsNoneand then test for which has been passed (eg,cosmo = user_dict['cosmo'] if user_dict is not None else cosmo)make_sz_clusteris: which function do you most want the user to use,generate_y_submaporsimulate_submap? The names are difficult to tell apart.simulate_submap->simulate_submapsis bettersimulate_submapthey'll all get saved and you could crash your computer because they're a few MB apieceThis is all suitable for discussion before we include them in the code, but for several I've already made partial implementations which I can push if we agree. For the others, we should discuss how to divide work, given the time horizon we're working with.
Beta Was this translation helpful? Give feedback.
All reactions