Giter Site home page Giter Site logo

will's Introduction

WILL - Weighted Injector of Luminous Lighthouses

will is a library to create, inject, and detect pulses from Fast Radio Bursts (FRBs) and pulsars.

Example pulse with multiple components

Example pulsar

Overview

There are many pulsar and FRB simulators. These lack ability to handle complex band shapes (from bandstop filters, rolloff, etc). They also try to inject pulses at a given Signal-to-Noise ratio. This signal strength methodology can lead to circular logic, in worse radio frequency environments, the injected signal is brighter and still detectible.

Will attempts the following

  • Signal energy fidelity
  • Custom bandpass weighting
  • Straightforward Pulse Detection
  • Good Documentation

There are four submodules will.create, will.inject, will.detect, and will.calculate.

create

  • GaussPulse can make multiple independent component pulses.
  • SimpleGaussPulse created pulses that are not correlated in frequency and time
  • filter_weights Uses Gaussian smoothing to create bandpass weights model filter and rolloff
  • clone_spectra makes dynamic spectra with Gaussian noise that copies statistics
  • dynamic_from_statistics Creates a noise dynamic spectra w/ given STD and median per channel
  • clone_spectra Makes a noise clone of a give dynamic spectra

inject

  • inject_constant_into_file inject pulse(s) of the same intensity
  • inject_distribution_into_file allows you to specify the pulse energies

detect

  • find_first_pulse Helps find the first pulse in a file
  • search_file search a file for periodic pulses at given DM and pulse width

calculate

  • log_normal_from_stats creates a log-normal distro. with given median and Stand. Dev.
  • sort_subarrays gives correlation across time to pulse powers
  • noise_info calculates the noise level across a file for a variety of boxcar widths

Documentation

We have a docs website which contains the examples and and API documentation

Installation

To install directly into your current Python environment

pip install git+https://github.com/josephwkania/will.git

If you want a local version

git clone https://github.com/josephwkania/will.git
pip install will

For tests `pip install will[tests]`, for docs `pip install will[docs]`

Examples

There are example notebooks that show how to create, inject, and detect pulses.

Questions + Contributing

See CONTRIBUTING.md

Other Simulators

Single Pulses

Pulsars

will's People

Contributors

josephwkania avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

irfnt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.