Skip to main content

INPE CAPPY239 - Análise Espectral de Processos Estocásticos

Ferramenta desenvolvida para a disciplina CAP 238 Matemática Computacional I - Análise Espectral de Processos Estocásticos, ministrada pelo Dr. Reinaldo Roberto Rosa no programa de Pós Graduação em Computação Aplicada no Instituto Nacional de Pesquisas Espaciais. O módulo possui as seguintes funções:

Instalação

pip install cappy239

Disponível para Python 3.0 ou superior.

Powernoise

A função powernoise gera sinais estocásticos, ruídos 1/fβ. É uma adaptação do código implementado em Matlab pelo Dr. Reinaldo R. Rosa e Dale B. Dalrymple.

Alguns exemplos com 212 valores:

  • White noise:
from cappy239 import powernoise
white_noise = powernoise(beta=0, N=4096)
  • Pink noise:
from cappy239 import powernoise
pink_noise = powernoise(beta=1, N=4096)
  • Red noise:
from cappy239 import powernoise
red_noise = powernoise(beta=2, N=4096)

Por padrão s série temporal está normalizada, caso não queria isso passe o argumento varargin='randpower'.

Mapeamento Quadrático (Logístico)

A função logistic_map gera uma série caótica . Exemplo com 100 valores:

from cappy239 import logistic_map
chaotic_serie = logistic_map(rho=3.85, a0=0.001, n=100)

Referência: https://geoffboeing.com/2015/03/chaos-theory-logistic-map/

Pmodel

A função pmodel é utilizada para gerar séries temporais estacionárias. O código é uma adaptação da implementação em Matlab disponível em http://www2.meteo.uni-bonn.de/staff/venema/themes/surrogates/pmodel/pmodel.m. Alguns exemplos com 212 valores:

  • S8: p=0.52, β=-1.66
from cappy239 import pmodel
kolmogorov = pmodel(noValues=4096, p=0.52, slope=-1.66)
 .' ___  |     / \     |_   __ \|_   __ \|_  _||_  _|/ ___ `./ ____ `..' ____ '. 
/ .'   \_|    / _ \      | |__) | | |__) | \ \  / / |_/___) |`'  __) || (____) | 
| |          / ___ \     |  ___/  |  ___/   \ \/ /   .'____.'_  |__ '.'_.____. | 
\ `.___.'\ _/ /   \ \_  _| |_    _| |_      _|  |_  / /_____| \____) || \____| | 
 `.____ .'|____| |____||_____|  |_____|    |______| |_______|\______.' \______,' 
                                                           By Adriano P. Almeida

Metadata

Release files for cappy239 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cappy239 0.1.13
File Size Uploaded Provenance
cappy239-0.1.13.tar.gz 4.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for cappy239 0.1.13
File Interpreter ABI Platform
cappy239-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / cappy239-0.1.13.tar.gz

Download URL cappy239-0.1.13.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
c51049ebcd4970a8ba48bc4cb2a8634a190538c39719d81ad45bb423d60ba47c
BLAKE2b-256 checksum
How to use checksums
1594b0e16d4f969c8f673b0a8f8c5587aedc20282ce2db445dd909c1b0787d08
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Release files / cappy239-0.1.13-py3-none-any.whl

Download URL cappy239-0.1.13-py3-none-any.whl
Size 4.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74291612603b96ab6d137421fae0dc776513606d15f8f0c7721ea40662002a9c
BLAKE2b-256 checksum
How to use checksums
3d48bcb343ecc04c67f98292efd8a85ea5c64b17a13f7ee3a8d446855b63b1fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

Security for cappy239 0.1.13

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page