Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Algorithms Computational Mathematics I: Spectral Analysis of Stochastic Processes taught by Dr Reinaldo Roberto Rosa at National Institute for Spacial Research (INPE).
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:
pip install cappy239
Disponível para Python 3.0 ou superior.
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:
from cappy239 import powernoise
white_noise = powernoise(beta=0, N=4096)
from cappy239 import powernoise
pink_noise = powernoise(beta=1, N=4096)
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'
.
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/
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:
from cappy239 import pmodel
kolmogorov = pmodel(noValues=4096, p=0.52, slope=-1.66)
.' ___ | / \ |_ __ \|_ __ \|_ _||_ _|/ ___ `./ ____ `..' ____ '.
/ .' \_| / _ \ | |__) | | |__) | \ \ / / |_/___) |`' __) || (____) |
| | / ___ \ | ___/ | ___/ \ \/ / .'____.'_ |__ '.'_.____. |
\ `.___.'\ _/ / \ \_ _| |_ _| |_ _| |_ / /_____| \____) || \____| |
`.____ .'|____| |____||_____| |_____| |______| |_______|\______.' \______,'
By Adriano P. Almeida
FAQs
Algorithms Computational Mathematics I: Spectral Analysis of Stochastic Processes taught by Dr Reinaldo Roberto Rosa at National Institute for Spacial Research (INPE).
We found that cappy239 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.