Skip to main content

fitting function with Chebichev polynomial on spectral grid

Project description

Cheb3D library

Installation (local)

Create a virtual environment and source it

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

Launch the build

python setup.py build_ext --inplace

Test it

cp Cheb3D/PyNumSpec.cpython* Test/.
cd Test
python verif.py

Notes

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

Intallation (pip)

pip install Cheb3D

Packaging in PIP:

on Macos

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/*

on Linux

docker run --rm -v $(pwd):/io quay.io/pypa/manylinux1_x86_64 /io/build_multilinux.sh
twine upload dist/*

Cleaning

You have to put a new value for version in setup.py and pyproject.py and clean up the build:

rm -rf dist build Cheb3D.egg-info

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.3.0.tar.gz (120.8 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.3.0-cp312-cp312-macosx_14_0_arm64.whl (232.9 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

File details

Details for the file cheb3d-0.3.0.tar.gz.

File metadata

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

File hashes

Hashes for cheb3d-0.3.0.tar.gz
Algorithm Hash digest
SHA256 ca298883589acd3851714245c949598b9cf09c76d67d9c98721ae052cbf16b05
MD5 89a1e6a689ae57acdcc32139dfd7e372
BLAKE2b-256 94f73b0bbcfc732dd507bb9c31279cda87b6c6bb249edb0dd7823019c08fc561

See more details on using hashes here.

File details

Details for the file Cheb3D-0.3.0-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for Cheb3D-0.3.0-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 75bbb6f2a0be91c6c46a926425421de653fc865fd371b4904d961e1e783e638e
MD5 5da2e278c6f1aaa009dec645e516791f
BLAKE2b-256 62b108634918f5b043ce82f3cce4256e475fd135590f3d46beeb4d64278bb633

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