Gaussian Decompostion of a LiDAR Waveform
Project description
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file gdecomp-1.0.6.tar.gz.
File metadata
- Download URL: gdecomp-1.0.6.tar.gz
- Upload date:
- Size: 28.6 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11b88af3cc276376ed45f48778fbc8399e2789720c3b83e3c4e8af74217418c0
|
|
| MD5 |
a7227f4733ed03f476d5c57774278ffd
|
|
| BLAKE2b-256 |
2d27573a0d88c51a8ecf49fffba996e20c8789dddc291e0ed2b8f486c4ddddc0
|
File details
Details for the file gdecomp-1.0.6-cp38-cp38-win_amd64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp38-cp38-win_amd64.whl
- Upload date:
- Size: 55.1 kB
- Tags: CPython 3.8, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5ce3612c335bb683e26edac06a87029e565ee17eb317f98bbea896fbb3b2454
|
|
| MD5 |
5d79cd12001c584f4b5f8b9f0e337e02
|
|
| BLAKE2b-256 |
1b76ad11a97c6ddd8b1375e7d0a01cfa9bb454bce675c008f03d64fc2f1fa1f9
|
File details
Details for the file gdecomp-1.0.6-cp38-cp38-win32.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp38-cp38-win32.whl
- Upload date:
- Size: 47.7 kB
- Tags: CPython 3.8, Windows x86
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56c883bc45b0628418e71111734edf89f6bffa27bf67340097c7949795933a8f
|
|
| MD5 |
ae85c8d690ee7abdc81ca4a0eaa0d5a6
|
|
| BLAKE2b-256 |
7645968292b8dde0e615101731599675a3f9231d708ff67b72091d2f15d8ee10
|
File details
Details for the file gdecomp-1.0.6-cp38-cp38-manylinux2010_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp38-cp38-manylinux2010_x86_64.whl
- Upload date:
- Size: 278.9 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8eb3c678da6ac46d86eccc13df2aab674cc459dac28058d57526c520013eef6a
|
|
| MD5 |
798c3ebe22191468b049395c68a17c9d
|
|
| BLAKE2b-256 |
6975c92e9640ddc96904390359a0833339167199926407e323798375c05a838b
|
File details
Details for the file gdecomp-1.0.6-cp38-cp38-manylinux2010_i686.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp38-cp38-manylinux2010_i686.whl
- Upload date:
- Size: 206.4 kB
- Tags: CPython 3.8, manylinux: glibc 2.12+ i686
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
64e3cb1beafe70820bcc7c6d5a9cca3ec1d2f016d6a632848b1d59620541278d
|
|
| MD5 |
32714f60e9988a07920117550e353f11
|
|
| BLAKE2b-256 |
df9b5b8370312fb202fda0938cb7352b2cc57b8dc79b4101c5efdc0090aeec99
|
File details
Details for the file gdecomp-1.0.6-cp38-cp38-macosx_10_9_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp38-cp38-macosx_10_9_x86_64.whl
- Upload date:
- Size: 53.3 kB
- Tags: CPython 3.8, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f8bb1aadf82febb663321b2a88c75469976af8806e6d4b90e245af4b983a8570
|
|
| MD5 |
c1a4c69dcff02af27ad8d0a62fb3e257
|
|
| BLAKE2b-256 |
cf5f34fc3e3674b89bef0ddb7dd958198d28b7a06d03dba101ea2f132c5f794e
|
File details
Details for the file gdecomp-1.0.6-cp37-cp37m-win_amd64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp37-cp37m-win_amd64.whl
- Upload date:
- Size: 54.5 kB
- Tags: CPython 3.7m, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07fe5910ada78f08d1c946aa0ef11bd4d9c41bfdc803403bbe35bb8b584f74ec
|
|
| MD5 |
0b2fb432791a89b9c44e6f0c904a7abc
|
|
| BLAKE2b-256 |
5573a38518d008b16e5ed3d4067254aef422cc2a62c20f3f03540a7576f921f3
|
File details
Details for the file gdecomp-1.0.6-cp37-cp37m-win32.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp37-cp37m-win32.whl
- Upload date:
- Size: 47.1 kB
- Tags: CPython 3.7m, Windows x86
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
677178ebaea018ad6b5fdf9a3af48d3201da5679827e94d578ee9170ee696b21
|
|
| MD5 |
e8f0bc985cbfa101ab438cb5b0899fa5
|
|
| BLAKE2b-256 |
b726828dcf829631475abfb232b6f4b2d81bc592009a35c46a48e8a72d2fd987
|
File details
Details for the file gdecomp-1.0.6-cp37-cp37m-manylinux2010_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp37-cp37m-manylinux2010_x86_64.whl
- Upload date:
- Size: 276.0 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1149e707e8e03397ca386b5438ae9d0d520bb3df2b7bb37d244d8910910782ef
|
|
| MD5 |
3518163b155070d8c9a5c544bdd3a735
|
|
| BLAKE2b-256 |
051bbfc4d51589d965e5846a04d447870f1d3f9ea1b5f572eb19a94cfcea8045
|
File details
Details for the file gdecomp-1.0.6-cp37-cp37m-manylinux2010_i686.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp37-cp37m-manylinux2010_i686.whl
- Upload date:
- Size: 204.4 kB
- Tags: CPython 3.7m, manylinux: glibc 2.12+ i686
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d5a5a3e54aa05bd8ce315247cb0710c461de281742de2ecb17ea5b3c08ca78f4
|
|
| MD5 |
e25190ff48176204484f7a349ab5e012
|
|
| BLAKE2b-256 |
dd1c1794423e78611ce532509a948d17c1d2944564e31856f9982b9365bbc777
|
File details
Details for the file gdecomp-1.0.6-cp37-cp37m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp37-cp37m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 53.1 kB
- Tags: CPython 3.7m, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f512391e2493e9ffff9f38e888eac38ac4ced090fc9d06f4be390d45e871f7a
|
|
| MD5 |
04178cb36966083aa8e3ae43cab1ead4
|
|
| BLAKE2b-256 |
e4fae70be9bd3a4c368e1a1103dae41a4246e200802c2674000b93a87c83163c
|
File details
Details for the file gdecomp-1.0.6-cp36-cp36m-win_amd64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 54.3 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
237e231ccf64018aed36487ce76d6e77e5e5ddb9bfee520c77311f204edf9960
|
|
| MD5 |
bc65b34da908cee3931a9b42a5071a16
|
|
| BLAKE2b-256 |
fa991f72a7065ddfbc83352151e7b0c7281168aea1d3d6bc810010e4a3789e21
|
File details
Details for the file gdecomp-1.0.6-cp36-cp36m-win32.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp36-cp36m-win32.whl
- Upload date:
- Size: 46.9 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8d155adf7c6e883f8abdd380d8d6a05e9968e6a282cd1ab016c64376a9254fea
|
|
| MD5 |
f31e30741e6e5483bc34083ea020347b
|
|
| BLAKE2b-256 |
90445b4de524ed1d0ada291087bbba07282ffe12975180351b4e7a57098f185f
|
File details
Details for the file gdecomp-1.0.6-cp36-cp36m-manylinux2010_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp36-cp36m-manylinux2010_x86_64.whl
- Upload date:
- Size: 274.5 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
06e1b1906b2dbd48dd8f3451802b90567fbda0c2fd0408fa2d8ab5cf16565af4
|
|
| MD5 |
861fcbb2ab78f095a97aa5f49aab1468
|
|
| BLAKE2b-256 |
6fc7caf8f47ff075bc288e6f3560db74a9d2b0d1a60bbcd9cbe14c9e1b2fcf3f
|
File details
Details for the file gdecomp-1.0.6-cp36-cp36m-manylinux2010_i686.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp36-cp36m-manylinux2010_i686.whl
- Upload date:
- Size: 203.0 kB
- Tags: CPython 3.6m, manylinux: glibc 2.12+ i686
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8a5760292acb16c8075c6ae7697b947968dc46b96e17ec38b7a97995b87b6e9a
|
|
| MD5 |
8db901cfab074d6485aebd7d372a438e
|
|
| BLAKE2b-256 |
04f67778581e4b9cddcc81c843fd1125673258b6b05962a2d4628527643ccbc6
|
File details
Details for the file gdecomp-1.0.6-cp36-cp36m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp36-cp36m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 53.0 kB
- Tags: CPython 3.6m, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
08c03e3770c2538616d9c324dee5a3c272a73001cfeaef0e2ba1169fcae1f3bf
|
|
| MD5 |
4114e7bba93bb891dbc85a5c5b4d32ce
|
|
| BLAKE2b-256 |
83bee01cbbd2c27b845735ccdb8078d7c9419f36d386d1a2fef36a451262df31
|
File details
Details for the file gdecomp-1.0.6-cp35-cp35m-win_amd64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 54.3 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f825bc887f83a49caae8be8cde96db1ab8d7474021c27431dd65f0d7eee151cf
|
|
| MD5 |
e8c687f8cfb110717030b8975b425f29
|
|
| BLAKE2b-256 |
811fda764393cdfc491df9ab18b5fa5fdb030ec61c4d2d60cb1f7d4667bcc44c
|
File details
Details for the file gdecomp-1.0.6-cp35-cp35m-win32.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp35-cp35m-win32.whl
- Upload date:
- Size: 46.9 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e82b730f604bac8c36e95b91eb675eed4f888c3e3c86ccf9be7c10b175d136b2
|
|
| MD5 |
c3f5449df2946a3d405a6eab80e8697d
|
|
| BLAKE2b-256 |
c529d6650d13c63e24e8600bb0344a9d7c2c47df4dd893cb311264e520ae2167
|
File details
Details for the file gdecomp-1.0.6-cp35-cp35m-manylinux2010_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp35-cp35m-manylinux2010_x86_64.whl
- Upload date:
- Size: 273.6 kB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a42f16c2cd89f8dd8e7290ce7ed3cd313cc4b10f5a47aa49db936f02f7aee62c
|
|
| MD5 |
e51875c6a4bf4eaed3da342af8bc7ad9
|
|
| BLAKE2b-256 |
7039ebd4c2644c1fa49fddb87238bc4266dae4282681befa6c98d795f10ee682
|
File details
Details for the file gdecomp-1.0.6-cp35-cp35m-manylinux2010_i686.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp35-cp35m-manylinux2010_i686.whl
- Upload date:
- Size: 202.2 kB
- Tags: CPython 3.5m, manylinux: glibc 2.12+ i686
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46512ffdbb2b80954f03c0bff40841c8c83551bbc59aa16a3b2959fb1e138933
|
|
| MD5 |
09b372152ff9c2d82038b0b8a93c4ced
|
|
| BLAKE2b-256 |
aa836fb4a3afe2b125409a7cd2c7bfcff63ab79104ecf76e188d7d08f0aa0a27
|
File details
Details for the file gdecomp-1.0.6-cp35-cp35m-macosx_10_9_x86_64.whl.
File metadata
- Download URL: gdecomp-1.0.6-cp35-cp35m-macosx_10_9_x86_64.whl
- Upload date:
- Size: 52.3 kB
- Tags: CPython 3.5m, macOS 10.9+ x86-64
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dedd61047b1ff9e424cf9978ff07f94b43da3aa34a6ad7c9fc53672b909ed76b
|
|
| MD5 |
b7fd66ba5a0c7b9ef512d24a965ea920
|
|
| BLAKE2b-256 |
d07eec381337a7ff3728393d46829654ee4fc8ce5bd42559c62fdc98ef84f7fb
|