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.1.tar.gz (107.3 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.1-cp311-cp311-macosx_11_0_arm64.whl (205.3 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: Cheb3D-0.2.1.tar.gz
  • Upload date:
  • Size: 107.3 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.1.tar.gz
Algorithm Hash digest
SHA256 608d16085ad1946dbabc9c7557e9720741960fcf2210f238fdbe0da66ec1e904
MD5 fef0d1d2c9118df5126daf2079c57b7c
BLAKE2b-256 2823d25955978f6f245ca48195ef52d4cda723bbbd71b8ff1f89dd3b7ff6c03f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Cheb3D-0.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8e8ec04785a019a8b7745d1b2790cd9fcb738d07482f3438d1f718bd2e21f6bb
MD5 60fd94c41e495ef12ff44d12735b90d8
BLAKE2b-256 1a00b7f69211e3196e160a1184fd17737dcb834b2048d407ce37c354f3d433a8

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