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
-
pyabel
would, 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 !pyabel
code as possible errors (the central pixel is aNaN
and 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.trapz
broadcasting, avoiding a nestedfor
loop 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 thatpyabel
is substantially faster, which might be a reason to switch, but this is not certainpyabel
is 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**kwargs
Pth
(andP200
andP0
) for the thermal pressure and thenepp
for the electron pressure?Pe
might make it a little more clear that they're relatedepp_to_y
is called which we could make globals (not very important, just kind of nice)load_vars
or the individual componentsNone
and then test for which has been passed (eg,cosmo = user_dict['cosmo'] if user_dict is not None else cosmo
)make_sz_cluster
is: which function do you most want the user to use,generate_y_submap
orsimulate_submap
? The names are difficult to tell apart.simulate_submap
->simulate_submaps
is bettersimulate_submap
they'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