Skip to main content

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.

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)

Source distribution for superposed-pulses 1.5
File Size Uploaded
superposed_pulses-1.5.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for superposed-pulses 1.5
File Interpreter ABI Platform
superposed_pulses-1.5-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

1.5 This release

2 release files

1.4

2 release files

1.3

1 release file

1.1

1 release file

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