superposed-pulses
Collection of tools designed to generate realizations of the Poisson point process.
Installation
The package is published to PyPI and can be installed with
pip install superposed-pulses
If you want the development version you must first clone the repo to your local machine, then install the project in development mode:
git clone https://github.com/uit-cosmo/superposed-pulses.git
cd superposed-pulses
pip install -e .
Usage
The simplest case, using defaults: exponential pulse shape, exponentially distributed amplitudes, constant duration times, write
import matplotlib.pyplot as plt
import superposedpulses.point_model as pm
model = pm.PointModel(waiting_time=10.0, total_duration=100, dt=0.01)
times, signal = model.make_realization()
plt.plot(times, signal)
plt.show()
Take a look at superposed-pulses/superposedpulses/example.py to find out how to change amplitudes, waiting times, duration times and the pulse shape of the process.
Metadata
Release files for superposed-pulses 1.5
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 |
|---|---|---|---|---|
| superposed_pulses-1.5.tar.gz | 9.2 kB | Without provenance | Details for superposed_pulses-1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| superposed_pulses-1.5-py3-none-any.whl | Python 3 | none | any | Details for superposed_pulses-1.5-py3-none-any.whl |
Total release size: 20.7 kB
Release files / superposed_pulses-1.5.tar.gz
| Download URL | superposed_pulses-1.5.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df7bf3e80a2995c24ffad0d355072cc452c406921d3867cbd846d30a392259c5
|
|
BLAKE2b-256 checksum How to use checksums |
9f0c000630f49f325cb2d2135202cd5f15c32390d64c1ce280f123459ef5251a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / superposed_pulses-1.5-py3-none-any.whl
| Download URL | superposed_pulses-1.5-py3-none-any.whl |
|---|---|
| Size | 11.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7ec51e4b107e022c2bb60daaa8b85d019517b20542a49e5e74baf8518412a31
|
|
BLAKE2b-256 checksum How to use checksums |
2a66fd1f953641577be9dbb1a74c0fcde26e2a11cd972790f4654f8f9c548b75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for superposed-pulses 1.5
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.