Skip to content

Improve sampling performance #21

@tovrstra

Description

@tovrstra

A few ideas (can be combined)

  • As mentioned in Algorithm for sampling power-law covariance kernels #20, we can use scipy.signal.lfilter to speed up the sampling. As far as I understand its implementation, the loop over time steps is implemented with specialized low-level code in SciPy, which should be faster than our Python implementation.
  • We can vectorize all operations over different independent sequences (parameter $M$ in the documentation).

Some basic testing would be useful to verify that such changes do actually improve performance. There may be other bottlenecks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions