Skip to main content

Some spectral analysis tools for analyzing waves in data.

Project description

wavespec

Some spectral analysis tools for analyzing waves in data.

Installation

Using pip3:

pip3 install wavespec --user

Installing the wheel using pip3:

pip3 install wavespec-0.0.1-py3-none-any.whl --user

From git:

git clone https://github.com/mattkjames7/wavespec
cd wavespec
python3 setup.py install --user

Usage

import wavespec as ws

Fast Fourier Transform (FFT)

power,phase,freq,fr,fi = ws.Fourier.FFT(t,x,WindowFunction=None,Param=None)

Lomb-Scargle (LS)

P,A,phi,a,b = ws.LombScargle.LombScargle(t,x0,f,Backend='C++',WindowFunction=None,Param=None)

Spectrograms

Nw,LenW,Freq,out = ws.Spectrogram.Spectrogram(t,v,wind,slip,Freq=None,Method='FFT',WindowFunction=None,Param=None,Detrend=True,FindGaps=True,GoodData=None,Quiet=True,LenW=None)

ax,Nw,LenW,Freq,Spec = ws.Spectrogram.PlotSpectrogram(t,v,wind,slip,Freq=None,Method='FFT',WindowFunction=None,Param=None,Detrend=True,FindGaps=True,GoodData=None,Quiet=True,LenW=None,fig=None,maps=[1,1,0,0],PlotType='Pow',scale=None,zlog=False,TimeAxisUnits='s',FreqAxisUnits='Hz')

3D Spectrograms

Nw,LenW,Freq,Spec = ws.Spectrogram.Spectrogram3D(t,vx,vy,vz,wind,slip,Freq=None,Method='FFT',WindowFunction=None,Param=None,Detrend=True,FindGaps=False,GoodData=None)

Tests

ws.Test.TestLS(A=[1.0,2.0],f=[0.04,0.1],phi=[0.0,90.0],Backend='C++')
ws.Test.TestPolarization(xPow=2.0,xPhase=0.0,yPow=1.0,yPhase=40.0)
ws.Test,TestSpectrogram()

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

wavespec-0.0.6.tar.gz (200.3 kB view details)

Uploaded Source

Built Distributions

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

wavespec-0.0.6-cp314-cp314-win_amd64.whl (101.0 kB view details)

Uploaded CPython 3.14Windows x86-64

wavespec-0.0.6-cp314-cp314-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl (92.2 kB view details)

Uploaded CPython 3.14manylinux: glibc 2.31+ x86-64manylinux: glibc 2.34+ x86-64

wavespec-0.0.6-cp314-cp314-macosx_15_0_arm64.whl (87.7 kB view details)

Uploaded CPython 3.14macOS 15.0+ ARM64

wavespec-0.0.6-cp314-cp314-macosx_14_0_arm64.whl (87.8 kB view details)

Uploaded CPython 3.14macOS 14.0+ ARM64

wavespec-0.0.6-cp313-cp313-win_amd64.whl (99.4 kB view details)

Uploaded CPython 3.13Windows x86-64

wavespec-0.0.6-cp313-cp313-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl (92.2 kB view details)

Uploaded CPython 3.13manylinux: glibc 2.31+ x86-64manylinux: glibc 2.34+ x86-64

wavespec-0.0.6-cp313-cp313-macosx_15_0_arm64.whl (87.7 kB view details)

Uploaded CPython 3.13macOS 15.0+ ARM64

wavespec-0.0.6-cp313-cp313-macosx_14_0_arm64.whl (87.8 kB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

wavespec-0.0.6-cp312-cp312-win_amd64.whl (99.4 kB view details)

Uploaded CPython 3.12Windows x86-64

wavespec-0.0.6-cp312-cp312-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl (92.2 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.31+ x86-64manylinux: glibc 2.34+ x86-64

wavespec-0.0.6-cp312-cp312-macosx_15_0_arm64.whl (87.7 kB view details)

Uploaded CPython 3.12macOS 15.0+ ARM64

wavespec-0.0.6-cp312-cp312-macosx_14_0_arm64.whl (87.8 kB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

wavespec-0.0.6-cp311-cp311-win_amd64.whl (99.4 kB view details)

Uploaded CPython 3.11Windows x86-64

wavespec-0.0.6-cp311-cp311-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl (92.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.31+ x86-64manylinux: glibc 2.34+ x86-64

wavespec-0.0.6-cp311-cp311-macosx_15_0_arm64.whl (87.7 kB view details)

Uploaded CPython 3.11macOS 15.0+ ARM64

wavespec-0.0.6-cp311-cp311-macosx_14_0_arm64.whl (87.8 kB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

wavespec-0.0.6-cp310-cp310-win_amd64.whl (99.4 kB view details)

Uploaded CPython 3.10Windows x86-64

wavespec-0.0.6-cp310-cp310-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl (92.2 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.31+ x86-64manylinux: glibc 2.34+ x86-64

wavespec-0.0.6-cp310-cp310-macosx_15_0_arm64.whl (87.7 kB view details)

Uploaded CPython 3.10macOS 15.0+ ARM64

wavespec-0.0.6-cp310-cp310-macosx_14_0_arm64.whl (87.8 kB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file wavespec-0.0.6.tar.gz.

File metadata

  • Download URL: wavespec-0.0.6.tar.gz
  • Upload date:
  • Size: 200.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavespec-0.0.6.tar.gz
Algorithm Hash digest
SHA256 f9cff78cb6e8f3d0dec5a7d6dbe348df2dce1460390f162a3aded7f879a6c4df
MD5 4a113d805c1716e58b626eeb9671568b
BLAKE2b-256 da81d31364e16f5f20e99082c89dc4f99671704c44137e71f66f6ad021813542

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp314-cp314-win_amd64.whl.

File metadata

  • Download URL: wavespec-0.0.6-cp314-cp314-win_amd64.whl
  • Upload date:
  • Size: 101.0 kB
  • Tags: CPython 3.14, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavespec-0.0.6-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 8c26f06de4f014ba910b476b1671e127a63d11f268af6549a376d596ee268fae
MD5 902b6498938dfe33a0c7a936e4caeda1
BLAKE2b-256 d6d2dac983a2e665452f7edf733c2cea19e1307807fbcd33cce982decbeb4f95

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp314-cp314-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp314-cp314-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f40a358111b985a6c380191324eb73a9fe2977e25606f84beb3b9cd80b971e71
MD5 721f27f2b5b4df94a0fe132c3a51726b
BLAKE2b-256 fafa08f2a5509ad075fe6192a9a2e3ff488f71d94631911d852dc30e03084397

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp314-cp314-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp314-cp314-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 eedb1bb3d7e365dbc6da5e900b75bb585d8f19402f60f3a1f4e1ac755058bdbf
MD5 2f0ce9ef079a02ebcde4cb36a076a743
BLAKE2b-256 6e02b56fade0b9e21d6eb9f4891a2d585508961fb6f9d24cfdd526a6703bb799

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp314-cp314-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp314-cp314-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 634c382c81c56da2b05f0fe186c4611f032d46b41993e576d0958b112d3a1c59
MD5 8fc55bfb2a1630b0915a041b995a7f75
BLAKE2b-256 b1cc06f782da2a7ce6306ab7fcfabe905cc6bc23b69522976e2dfca5720f8980

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: wavespec-0.0.6-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 99.4 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavespec-0.0.6-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 8daa149524661ee29b7b3e90501d89a291ab098bea3db20da618aea91e6aa559
MD5 3edcb5d9df80fbbc0aa449248284d035
BLAKE2b-256 c6af2e879f6cd2eac90188ad5b608ab0d6f7466aeaf0f17e3ce12575579dedb8

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp313-cp313-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp313-cp313-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 a460766ebb3a27889c6a993a934de945bd301a54b8071cd3628410c1ad5397ea
MD5 60546487a0801f14ddbb858d1c50bfd8
BLAKE2b-256 8729729a0eaa21d227f7a07d6d8481f03b2b1abd8b69d0e73ec65fff5275818c

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp313-cp313-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp313-cp313-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 8142eb63e859940c36468a9f76bcf73ca19be538cc04b2d5388702ed855663e0
MD5 35a1cc24b4fc62b566e652f417931c5a
BLAKE2b-256 e6c70d7769cc6050288129c0505cf7667f6e2abe32df90e141549c45bd420364

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 dd54c695f90ce89ab6c65e30cd5e1b57966710fb97c48452b0ec5d3df49fe369
MD5 e9a8a81019e18660463df6fa7966d6bc
BLAKE2b-256 07dc3ce247f14887744f17781b4aa9d0968d277bec0ae087ca0c44c0844702bd

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: wavespec-0.0.6-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 99.4 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavespec-0.0.6-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 07bb27a3209cdbd0d2b3ae0dfb9e72a914708a11f3f447aa920b2077e76a2c40
MD5 f74a4b71c58af4058a3634f4e82e7b35
BLAKE2b-256 6ea8708f180bb33a472c4c4769e15d7da4abe1a5fe2e610f48ce824d87a4b565

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp312-cp312-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp312-cp312-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 2c52d68113de1945f4a18256c45843c2594f31d9bf94157d0be24c6a353b4765
MD5 78886d0383f2bdbb43f7590c0bfc80e3
BLAKE2b-256 c620313c66c7cd35c011ef31c682ea73a6054449828194716b11872d3de0517e

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp312-cp312-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp312-cp312-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 735925d2082e88008b7e08bb356627cc063968a8ccfefa35dee194563d2c93b3
MD5 c3b4c35287b7a033417b100afc36ea65
BLAKE2b-256 30701a48805757c5ac858dce6bddddf579ea8cfe79f6a6213ba7cc5aeadbb1f3

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 453f46dec790b66f2609c8d26411128dd499b5d1af9744f5aeb5bd24e3eff61a
MD5 6c5703e1e8a786e59b93d7261a797781
BLAKE2b-256 ddc0ca9d0511ef7c966d2e01682a26bbc13eed7a3dd11219c2827ae6ac98c6ca

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: wavespec-0.0.6-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 99.4 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavespec-0.0.6-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3777e8562e6479c864997d9f9d49cb1cee230a25e087992629ba567717bb05f9
MD5 fc3a38d07db9237377f5cfb91800b336
BLAKE2b-256 7cdcf5eba3505c60d07a35edebaaeb1367c1338e543bd6170bc8984a11859d90

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp311-cp311-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp311-cp311-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 36a27bdc24a8817ddbcc3aa00beb2f468c8466436493539a6c9ab2a5e00158b9
MD5 cc17cc2121bf62799bfe17192dc1df13
BLAKE2b-256 8ebdcb948e9451c49c3a24b4d036c4cadea03a5f5cee0ca3d5832596f5447a01

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp311-cp311-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp311-cp311-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 f84e7895bcd516b7dd5db9570386f077b7a14f18466747e51e18d27b7239b775
MD5 93b90f20d34717d204f2f67b3042e7f5
BLAKE2b-256 88eb37e50e0d0be78d54dbdb9c242998396a27b59763d28892992a7d01c8caf7

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 d55251da544a06a31e018ca7ad1132845ca7b40045e2b36a5f9ff4d0fac4f124
MD5 97fe81f4fd7d0ae5d5f8ead85ab3c682
BLAKE2b-256 15e86919ea930ee40e32133504fe6375e9a4bba02b2ca602a9eeb17f43550002

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: wavespec-0.0.6-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 99.4 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for wavespec-0.0.6-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 e024dfbbb354c202fdd7097f02d42a7c071e7e026c6360acc11510ae814ed66b
MD5 2919209e1ab7f70f09c6d326352405d2
BLAKE2b-256 17b80347998a917abac0bd3efe312e98c44d5d6a0e7e195928c45eda13b2cb9c

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp310-cp310-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp310-cp310-manylinux_2_31_x86_64.manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 49de66cbbf8296783c781bb90215cfd20c7a4c01f7d252787846c84e3f9db83b
MD5 d717bce179e9a493cd0c7d0fa9dd2dc0
BLAKE2b-256 95b10229144ad32063ef241760e8c237c1e249707962a0cff2072a5c7fb4282f

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp310-cp310-macosx_15_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp310-cp310-macosx_15_0_arm64.whl
Algorithm Hash digest
SHA256 5cdc069c2e3bb662882e6467db4d16cadfeaa1758f3683dd7e00d195738d524c
MD5 a11a0ddc0e3921aafafd49b59588ea50
BLAKE2b-256 414c8d921e9a00af470708048db70d1bda0dfb4a13421a89383dba0e17cb9e31

See more details on using hashes here.

File details

Details for the file wavespec-0.0.6-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for wavespec-0.0.6-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 f678b51850c378d062ce5b1f6fdb63d04f41b654f1c9e0dfd2ea7c2380e8cc3e
MD5 e3536ab0b507b0287a231ed7560b8e3c
BLAKE2b-256 3e199da88dc8c5e9136d3464f061919375cfc0425f0f9cf79035890f6b02872d

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