Skip to content

Split model and kernel operations parts into separate classes #5

@parkag

Description

@parkag

There are two parts of KCSD method that can be turned into separate classes.
First part is model where we make some assumptions about the measurement process. This is currently handled by init_model() function, but it could be moved out into a separate class.

Two classes could be introduced:

  • BaseModel as a readable template to override
  • specific model that handle the current model-related operations of KCSD

The second part would be the KCSD-specific operations - calculating all the kernels.

The benefit of this approach is that model could be now used as the only parameter of the KCSD method. Models and KCSD parts could be developed independently. To handle a different model one would only need to write his own model class and instead of searching through the whole KCSD code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions