Skip to main content

fitting function with Chebichev polynomial on spectral grid

Project description

Cheb3D library

Installation

Compile the C++ library

  • Install the package fftw3 (devel version).
  • Compile the library
cd Chab3D/Lib
make

Create a virtual environment and source it

cd ..
python -m virtualenv venv
source venv/bin/activate
pip install cython

Cythonize the library

python setup.py build_ext --inplace

Test it

export LD_LIBRARY_PATH=./Lib
python Test/verif.py

Notes

A try to explain how the library works is given in Test_explaination.md

Packaging in PIP:

pip install wheel
python setup.py sdist bdist_wheel

This will create two packages in the directory dist/: .A file .tar.gz (source distribution) .A file .whl (built distribution)

Chargiing on PyPI

pip install twine

then

twine upload dist/*

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

Cheb3D-0.2.0.tar.gz (104.9 kB view details)

Uploaded Source

Built Distribution

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

Cheb3D-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (202.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file Cheb3D-0.2.0.tar.gz.

File metadata

  • Download URL: Cheb3D-0.2.0.tar.gz
  • Upload date:
  • Size: 104.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.8

File hashes

Hashes for Cheb3D-0.2.0.tar.gz
Algorithm Hash digest
SHA256 64f8accde27f5175a330c698d4221bcf4e6dedb435f9497c65572a1418d63f68
MD5 82d587f25817767b0d4f8ab56ab48637
BLAKE2b-256 912c533adfafa7531585922b8dfef5d11c9821d6c2f8ff6f65f4210904405b44

See more details on using hashes here.

File details

Details for the file Cheb3D-0.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for Cheb3D-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11240edae1c2b7cbc06389102ee9ab4ae24f7ec3ce324661feb1f3c1a6761351
MD5 a9d389130bfdc0b14aafc3ae046f3de8
BLAKE2b-256 6158d1263ca3312d96f4d7e46ae15e819e8eaca51bdf08530b49ac39fa0b4463

See more details on using hashes here.

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