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.5.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.5-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pygridfit-0.1.5.tar.gz
Algorithm Hash digest
SHA256 30e4cb66263dcba4deff201053fc64b57f726d7f6d4b60e36d68b419d01bb30b
MD5 a64dfd99fb1839da2df47b18749e38f5
BLAKE2b-256 26d000d13ca8112719aa30fb33d7ad5b2b9659e675c823809a4f4fa5dd676a41

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygridfit-0.1.5.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.5-py3-none-any.whl.

File metadata

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

File hashes

Hashes for pygridfit-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cbcf282b45c1ddf4c25770e12225c47e73d82f78e17756dc4a2ed3986114a4ab
MD5 eb96e932e62723a2f90008b86f54bd3b
BLAKE2b-256 71d155d1d05d79720e1b9a421c1d4e092dc5a1c8795cf7ddf50cd1cceacdd2c1

See more details on using hashes here.

Provenance

The following attestation bundles were made for pygridfit-0.1.5-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