Skip to main content

Python Port of gridfit (John D'Errico, 2006)

Project description

pygridfit

Python port of the MATLAB gridfit function (D'Errico, 2006).

Installation

To install the latest tagged version:

pip install pygridfit

Or to install the development version, clone the repository and install it with pip install -e:

git clone https://github.com/berenslab/pygridfit.git
pip install -e pygridfit

By default, pygridfit uses scipy.sparse.linalg.spsolve to solve sparse matrices, which can be slow. For better performance, you can manually install the additional dependencies of scikit-sparse first:

# mac
brew install suite-sparse

# debian
sudo apt-get install libsuitesparse-dev

then run:

pip install -e pygridfit[scikit-sparse]

Usage

See the example notebook for usage.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygridfit-0.1.6.tar.gz (1.2 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pygridfit-0.1.6-py3-none-any.whl (17.8 kB view details)

Uploaded Python 3

File details

Details for the file pygridfit-0.1.6.tar.gz.

File metadata

  • Download URL: pygridfit-0.1.6.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pygridfit-0.1.6.tar.gz
Algorithm Hash digest
SHA256 bc0227dc1d8abfbe3906b57fbcdd3e7e8ecf37ae1b61594d6dde4c466dddba6e
MD5 935177199297b201f1cbc7a157c20175
BLAKE2b-256 5b824c5120540e0dfebee6b1a6ac8f8da5f76bfa2b9c260427f97235c1e2bbab

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygridfit-0.1.6.tar.gz:

Publisher: python-publish.yml on berenslab/pygridfit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pygridfit-0.1.6-py3-none-any.whl.

File metadata

  • Download URL: pygridfit-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 17.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pygridfit-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 42b2dfa70a08b0ba46136d408abccf438c66503201d25e5c8e3486a1b7d8db19
MD5 5b3b760eab363d75d88daeca288f36b7
BLAKE2b-256 956f11e0486488c4d339bb1afc874bd3a7c2b9da51bb6be6c8df548b90465aea

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygridfit-0.1.6-py3-none-any.whl:

Publisher: python-publish.yml on berenslab/pygridfit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page