Closed mirochaj closed 1 year ago
Thanks @mirochaj! I don't have time to look into this right now, but are you suggesting that in the powerbox code a simple change of indexing will solve this? If so, I'm all for it -- is it easy for you to write a up a quick PR?
Hey @steven-murray, I'm using the
create_discrete_samples
function in the mainPowerBox
class, and noticed that if I naively plot the density of tracers, there is a mismatch with the input field. This is just a tranpose issue related to whether one usesindexing='xy'
orindexing='ij'
in calls to numpy'smeshgrid
function. For me the latter is more intuitive and provides a one line fix, though if people generally prefer to stick with numpy defaults then maybe just some clarifying language in the docstring is the better solution. What do you think?Here's a MWE that shows what I mean: