-
Notifications
You must be signed in to change notification settings - Fork 24
Description
Is it worth adding Function6D into Cherab?
DistributionFunction.evaluate is close to what a Function6D.evaluate would look like in Raysect's function framework. Adding Function6D to Cherab would allow us to add an arbitrary DistributionFunction implementation initialised with Function6D and Function3D framework (generalisation of what is now partly done in Maxwellian). It would also move us closer to covering non-Maxwellian features in radiation.
I think that implementing it in Cherab would be a good choice, since 6D is too domain specific for Raysect.
I briefly looked into how function framework is implemented in Raysect and it seemed to me the whole procedure would be largely copy-paste job, although I could be mistaken.
I'm opening this issue to initiate some brainstorming and discussion whether it is worth it or not. I would definitely welcome comments from @jacklovell and @vsnever.