Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Simulation setting that switches or skips calculations #76
Implement methods to optionally skip a calculation and link outputs by passing a flag to the simulation settings without requiring an entirely new calculation
For example, the option to use aoi diffuse modifiers or not could depend on a simulation setting, therefore aoi modifier would be linked to aoi diffuse modifier
Assuming that #63 is complete, then in calculation parameter formula can be a dictionary.
EG: spectral calculation with optional formulas
Then in the simulation layer, a
~ or ~
Here's a sketch @anomam and I drew in our simeng2 meeting on 11/3:
For now, we can do this by just using a different calculation class, which is more tedious, but equally effective, EG:
etc. then just create more than one model, but swap out the desired calculation. In your application, you can switch between models based on the calc options desired.