gdecomp: python binding of C++ signal gaussian decomposition.
This package aims at decomposing a signal (1D numpy array) into a sum of gaussian, typically used in full waveform lidar analysis. It is used in particular to process lidar simulations produced with pytools4dart. This code is inspired from C++ code developped by DART team (Jianbo Qi, Tiangang Yin), for DART radiative transfer simulator.
- Creation date: 2019-05-24
- Author: Florian de Boissieu
Install
Package gdecomp can be installed with:
pip install gdecomp
Example
import gdecomp
import numpy as np
import matplotlib.pyplot as plt
x=np.arange(100)
gaus=np.array([[130, 20, 5],
[50, 50, 10],
[10, 70, 5]])
y=np.zeros(x.shape)
for i in range(gaus.shape[0]):
y += gaus[i,0] / (np.sqrt(2 * np.pi)*gaus[i,2]) * np.exp(-(x - gaus[i,1])**2 / (2 * gaus[i,2]**2))
out = gdecomp.GaussianDecomposition(y)
out = np.reshape(out, (-1, 3))
fit = np.zeros(y.size)
for i in range(out.shape[0]):
fit += out[i,0] / (np.sqrt(2 * np.pi)*out[i,2]) * np.exp(-(x - out[i,1])**2 / (2 * out[i,2]**2))
line1 = plt.plot(x, y, color='k', label='waveform')
line2 = plt.plot(x, fit, color='r', linestyle='--', label='fit')
plt.legend(loc='upper right')
Aknowledgements
This package includes cmpfit source code of CMPFIT library, software developed by the University of Chicago, as Operator of Argonne Nationa Laboratory. See src/mpfit/DISCLAIMER for copyright details of that code.
Metadata
Release files for gdecomp 1.0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gdecomp-1.0.6.tar.gz | 28.6 kB | Without provenance | Details for gdecomp-1.0.6.tar.gz |
Built distributions (wheels)
Total release size: 2.6 MB
Release files / gdecomp-1.0.6.tar.gz
| Download URL | gdecomp-1.0.6.tar.gz |
|---|---|
| Size | 28.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
11b88af3cc276376ed45f48778fbc8399e2789720c3b83e3c4e8af74217418c0
|
|
BLAKE2b-256 checksum How to use checksums |
2d27573a0d88c51a8ecf49fffba996e20c8789dddc291e0ed2b8f486c4ddddc0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp38-cp38-win_amd64.whl
| Download URL | gdecomp-1.0.6-cp38-cp38-win_amd64.whl |
|---|---|
| Size | 55.1 kB |
| Tags | CPython 3.8 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d5ce3612c335bb683e26edac06a87029e565ee17eb317f98bbea896fbb3b2454
|
|
BLAKE2b-256 checksum How to use checksums |
1b76ad11a97c6ddd8b1375e7d0a01cfa9bb454bce675c008f03d64fc2f1fa1f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp38-cp38-win32.whl
| Download URL | gdecomp-1.0.6-cp38-cp38-win32.whl |
|---|---|
| Size | 47.7 kB |
| Tags | CPython 3.8 Windows x86-32 |
|
SHA-256 checksum How to use checksums |
56c883bc45b0628418e71111734edf89f6bffa27bf67340097c7949795933a8f
|
|
BLAKE2b-256 checksum How to use checksums |
7645968292b8dde0e615101731599675a3f9231d708ff67b72091d2f15d8ee10
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp38-cp38-manylinux2010_x86_64.whl
| Download URL | gdecomp-1.0.6-cp38-cp38-manylinux2010_x86_64.whl |
|---|---|
| Size | 278.9 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
8eb3c678da6ac46d86eccc13df2aab674cc459dac28058d57526c520013eef6a
|
|
BLAKE2b-256 checksum How to use checksums |
6975c92e9640ddc96904390359a0833339167199926407e323798375c05a838b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp38-cp38-manylinux2010_i686.whl
| Download URL | gdecomp-1.0.6-cp38-cp38-manylinux2010_i686.whl |
|---|---|
| Size | 206.4 kB |
| Tags | CPython 3.8 Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
64e3cb1beafe70820bcc7c6d5a9cca3ec1d2f016d6a632848b1d59620541278d
|
|
BLAKE2b-256 checksum How to use checksums |
df9b5b8370312fb202fda0938cb7352b2cc57b8dc79b4101c5efdc0090aeec99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp38-cp38-macosx_10_9_x86_64.whl
| Download URL | gdecomp-1.0.6-cp38-cp38-macosx_10_9_x86_64.whl |
|---|---|
| Size | 53.3 kB |
| Tags | CPython 3.8 macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
f8bb1aadf82febb663321b2a88c75469976af8806e6d4b90e245af4b983a8570
|
|
BLAKE2b-256 checksum How to use checksums |
cf5f34fc3e3674b89bef0ddb7dd958198d28b7a06d03dba101ea2f132c5f794e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / gdecomp-1.0.6-cp37-cp37m-win_amd64.whl
| Download URL | gdecomp-1.0.6-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 54.5 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
07fe5910ada78f08d1c946aa0ef11bd4d9c41bfdc803403bbe35bb8b584f74ec
|
|
BLAKE2b-256 checksum How to use checksums |
5573a38518d008b16e5ed3d4067254aef422cc2a62c20f3f03540a7576f921f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp37-cp37m-win32.whl
| Download URL | gdecomp-1.0.6-cp37-cp37m-win32.whl |
|---|---|
| Size | 47.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
677178ebaea018ad6b5fdf9a3af48d3201da5679827e94d578ee9170ee696b21
|
|
BLAKE2b-256 checksum How to use checksums |
b726828dcf829631475abfb232b6f4b2d81bc592009a35c46a48e8a72d2fd987
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp37-cp37m-manylinux2010_x86_64.whl
| Download URL | gdecomp-1.0.6-cp37-cp37m-manylinux2010_x86_64.whl |
|---|---|
| Size | 276.0 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
1149e707e8e03397ca386b5438ae9d0d520bb3df2b7bb37d244d8910910782ef
|
|
BLAKE2b-256 checksum How to use checksums |
051bbfc4d51589d965e5846a04d447870f1d3f9ea1b5f572eb19a94cfcea8045
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp37-cp37m-manylinux2010_i686.whl
| Download URL | gdecomp-1.0.6-cp37-cp37m-manylinux2010_i686.whl |
|---|---|
| Size | 204.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
d5a5a3e54aa05bd8ce315247cb0710c461de281742de2ecb17ea5b3c08ca78f4
|
|
BLAKE2b-256 checksum How to use checksums |
dd1c1794423e78611ce532509a948d17c1d2944564e31856f9982b9365bbc777
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp37-cp37m-macosx_10_9_x86_64.whl
| Download URL | gdecomp-1.0.6-cp37-cp37m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 53.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
5f512391e2493e9ffff9f38e888eac38ac4ced090fc9d06f4be390d45e871f7a
|
|
BLAKE2b-256 checksum How to use checksums |
e4fae70be9bd3a4c368e1a1103dae41a4246e200802c2674000b93a87c83163c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / gdecomp-1.0.6-cp36-cp36m-win_amd64.whl
| Download URL | gdecomp-1.0.6-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 54.3 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
237e231ccf64018aed36487ce76d6e77e5e5ddb9bfee520c77311f204edf9960
|
|
BLAKE2b-256 checksum How to use checksums |
fa991f72a7065ddfbc83352151e7b0c7281168aea1d3d6bc810010e4a3789e21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp36-cp36m-win32.whl
| Download URL | gdecomp-1.0.6-cp36-cp36m-win32.whl |
|---|---|
| Size | 46.9 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
8d155adf7c6e883f8abdd380d8d6a05e9968e6a282cd1ab016c64376a9254fea
|
|
BLAKE2b-256 checksum How to use checksums |
90445b4de524ed1d0ada291087bbba07282ffe12975180351b4e7a57098f185f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp36-cp36m-manylinux2010_x86_64.whl
| Download URL | gdecomp-1.0.6-cp36-cp36m-manylinux2010_x86_64.whl |
|---|---|
| Size | 274.5 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
06e1b1906b2dbd48dd8f3451802b90567fbda0c2fd0408fa2d8ab5cf16565af4
|
|
BLAKE2b-256 checksum How to use checksums |
6fc7caf8f47ff075bc288e6f3560db74a9d2b0d1a60bbcd9cbe14c9e1b2fcf3f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp36-cp36m-manylinux2010_i686.whl
| Download URL | gdecomp-1.0.6-cp36-cp36m-manylinux2010_i686.whl |
|---|---|
| Size | 203.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
8a5760292acb16c8075c6ae7697b947968dc46b96e17ec38b7a97995b87b6e9a
|
|
BLAKE2b-256 checksum How to use checksums |
04f67778581e4b9cddcc81c843fd1125673258b6b05962a2d4628527643ccbc6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp36-cp36m-macosx_10_9_x86_64.whl
| Download URL | gdecomp-1.0.6-cp36-cp36m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 53.0 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
08c03e3770c2538616d9c324dee5a3c272a73001cfeaef0e2ba1169fcae1f3bf
|
|
BLAKE2b-256 checksum How to use checksums |
83bee01cbbd2c27b845735ccdb8078d7c9419f36d386d1a2fef36a451262df31
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Release files / gdecomp-1.0.6-cp35-cp35m-win_amd64.whl
| Download URL | gdecomp-1.0.6-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 54.3 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
f825bc887f83a49caae8be8cde96db1ab8d7474021c27431dd65f0d7eee151cf
|
|
BLAKE2b-256 checksum How to use checksums |
811fda764393cdfc491df9ab18b5fa5fdb030ec61c4d2d60cb1f7d4667bcc44c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp35-cp35m-win32.whl
| Download URL | gdecomp-1.0.6-cp35-cp35m-win32.whl |
|---|---|
| Size | 46.9 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
e82b730f604bac8c36e95b91eb675eed4f888c3e3c86ccf9be7c10b175d136b2
|
|
BLAKE2b-256 checksum How to use checksums |
c529d6650d13c63e24e8600bb0344a9d7c2c47df4dd893cb311264e520ae2167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp35-cp35m-manylinux2010_x86_64.whl
| Download URL | gdecomp-1.0.6-cp35-cp35m-manylinux2010_x86_64.whl |
|---|---|
| Size | 273.6 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
a42f16c2cd89f8dd8e7290ce7ed3cd313cc4b10f5a47aa49db936f02f7aee62c
|
|
BLAKE2b-256 checksum How to use checksums |
7039ebd4c2644c1fa49fddb87238bc4266dae4282681befa6c98d795f10ee682
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp35-cp35m-manylinux2010_i686.whl
| Download URL | gdecomp-1.0.6-cp35-cp35m-manylinux2010_i686.whl |
|---|---|
| Size | 202.2 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-32 |
|
SHA-256 checksum How to use checksums |
46512ffdbb2b80954f03c0bff40841c8c83551bbc59aa16a3b2959fb1e138933
|
|
BLAKE2b-256 checksum How to use checksums |
aa836fb4a3afe2b125409a7cd2c7bfcff63ab79104ecf76e188d7d08f0aa0a27
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2
|
Release files / gdecomp-1.0.6-cp35-cp35m-macosx_10_9_x86_64.whl
| Download URL | gdecomp-1.0.6-cp35-cp35m-macosx_10_9_x86_64.whl |
|---|---|
| Size | 52.3 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc macOS 10.9+ x86-64 |
|
SHA-256 checksum How to use checksums |
dedd61047b1ff9e424cf9978ff07f94b43da3aa34a6ad7c9fc53672b909ed76b
|
|
BLAKE2b-256 checksum How to use checksums |
d07eec381337a7ff3728393d46829654ee4fc8ce5bd42559c62fdc98ef84f7fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.7
|
Security for gdecomp 1.0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.