Coder Social home page Coder Social logo

Comments (3)

dhhagan avatar dhhagan commented on August 14, 2024

Hey @drewmee - yes, please! I think in terms of how it's implemented, it should take place at OPC definition stage - in other words, when you create an OPC, you should be able to set a parameter for how you allocate particles to bins. We can brainstorm some ideas for what this parameter should be called, but should default to what is used now. If there are other arguments/parameters that need to be set in order to make it work, then we can just add another kwarg such as prob_kwargs or something like that...make sense?

from opcsim.

drewmee avatar drewmee commented on August 14, 2024

Thanks that makes sense. From my understanding the probability distribution used for bin assignment should bake in uncertainties in particle properties as well as the instrument-specific relationship between scattering signal amplitude and particle scattering cross section. The latter seems like the easiest place to start. As for the former, have you thought about how one might assign probability distributions for particle density, hygroscopic growth, and refractive index to each lognormal mode within an aerosol distribution, for example for an externally mixed sample? Correct me if I'm wrong but those properties are currently held constant for each mode in opcsim? Perhaps implementing a way to represent modes with heterogeneous properties should be addressed prior to any attempt at a bin-assignment algorithm. Maybe that should be raised/tracked in a whole different GH issue...

Please let me know if any of that made sense.

from opcsim.

dhhagan avatar dhhagan commented on August 14, 2024

Hey @drewmee I don't think that is necessarily the case, though I could see that being useful. I think the first step would be to just assign them probabilities based on whether the Cscat value was in a region where there is large uncertainty in the correct bin assignment. I think the composition and other uncertainty is next level!

You are correct that currently, each mode is treated separately, though you could create two identical modes of different composition. It shouldn't be too hard to build in core-shell model functionality, and there are examples (py-mie) that do this already and can be looked to for inspiration/code examples.

from opcsim.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.