Skip to content

User defined kernels #339

Answered by luisfabib
edmundxcvi asked this question in Ideas
Discussion options

You must be logged in to vote

Thanks for the idea!

We will need to think carefully about it. From your fork, I see that you implemented an argument into dipolarkernel to basically specify an arbitrary function for the elementary dipolar kernel matrix.

On one hand, since dipolarkernel implements a very specific kind of mathematical model, it would make more sense to add functionality that allows the specification of parameters that are currently fixed rather than allowing any arbitrary function to be defined.

On the other hand, with DeerLab you can now take completely custom functions/models and profit from the new modeling API (see here for help) to construct a custom new model that includes whatever parameters you need.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by edmundxcvi
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants