-
Notifications
You must be signed in to change notification settings - Fork 11
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
support for AeroMode instantiation with sampled mode type (incl. fixes in spec file logic) + sampled and mono mode types coverage in unit tests (in test_aero_[mode,state,dist].py) #357
Conversation
@jcurtis2, the issue with the new "size_dist": [
{"num_conc": num_concs},
{"diam": [1, 2, 3, 4]},
], and "size_dist": [
{"diam": [1, 2, 3, 4]},
{"num_conc": num_concs},
], are not the same, because we retrieve the single-element dictionaries based on their placement in the Shall we merge? |
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 good to me. Thanks!
Just want to note that the order here is different than the PartMC input file order:
But if we have things to check order in PyPartMC, this should be fine. |
hmm... let's then first try adding a test that would check if the |
Yeah, at least debugging with some print statements in the PartMC code (inserted in diameters 100.00000000000000 200.00000000000000 300.00000000000000 |
Particle size array not correct. need to fix and improved test to verify bin edges or particles sampled.
Thanks Jeff! |
BTW, do we have any mean of testing it from Python at this point? (indirectly by sampling from the dist?) |
Not currently - doesn't appear to be anything PartMC function that will do something with it (not like number concentration where there is a function that just gets the total number concentration of a mode |
Thanks @jcurtis2 |
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 all good to me!
No description provided.