Skip to main content

A package for interative periodograms analysis.

Project description

PyPI GitHub issues GitHub Documentation Status


Logo

Z2n Periodogram

A package for interative periodograms analysis!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

The Z2n Software was developed by Yohan Alexander as a research project, funded by the CNPq Institution, and it is a Open Source initiative. The program allows the user to calculate periodograms using the Z2n statistics a la Buccheri et al. 1983, which is defined as follows.

\Large \phi_j [0,1] = frac(v_i\Delta t_{ij} + \dot v_i \frac{\Delta t^2_{ij}}{2} + \dot v_i \frac{\Delta t^3_{ij}}{6})

\Large Z^2_n = \frac{2}{N} \cdot \sum_{k=1}^{n} [(\sum_{j=1}^{N} cos(k\phi_j)) ^ 2 + (\sum_{j=1}^{N} sin(k\phi_j)) ^ 2]

The standard Z2n statistics calculates the phase of each photon and the sinusoidal functions above for each photon. Be advised that this is very computationally expensive if the number of photons is high, since the algorithm grows at a exponential rate \large O(n^2).

Built With

The Z2n Software was built using the Python open source language.

Getting Started

Prerequisites

The version of the Python interpreter used during the development was the3.7, which can be managed in virtual environments such as Anaconda. Therefore, try to use the same or above versions for the best compatibility.

  • Python>=3.7
  • PIP

Installation

The software is currently hosted at the Python central repository PyPI, to install the software properly use the terminal command:

pip install z2n-periodogram

Usage

To start the software just type z2n on the terminal (check if you're under the virtual environment that it is installed).

z2n

The CLI of the software is very interactive and it works by triggering the commands available, for more information on the usage type help.

        Z2n Software, a package for interactive periodograms analysis.
        Copyright (C) 2020, and MIT License, by Yohan Alexander [UFS].
        Type "help" for more information or "docs" for documentation.

(z2n) >>> help

Documented commands (type help <topic>):
========================================
docs  gauss  plot  run  save

Undocumented commands:
======================
exit  help  quit

(z2n) >>>

For more examples, please refer to the Documentation

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

License

All content © 2020 Yohan Alexander. Distributed under the MIT License. See LICENSE for more information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

z2n-periodogram-2.0.6.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

z2n_periodogram-2.0.6-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file z2n-periodogram-2.0.6.tar.gz.

File metadata

  • Download URL: z2n-periodogram-2.0.6.tar.gz
  • Upload date:
  • Size: 24.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for z2n-periodogram-2.0.6.tar.gz
Algorithm Hash digest
SHA256 11047c9bd0abac1224dac0722d2646223478c8ffe9dccf807fe05bddad2ec5ee
MD5 08b2df80a2ced6b1d43b2aa6f3feece4
BLAKE2b-256 f5a9dab58a1a09117bff0aeadd489966e65f6a4c6fddba01c97c3ffddb4e19ca

See more details on using hashes here.

File details

Details for the file z2n_periodogram-2.0.6-py3-none-any.whl.

File metadata

  • Download URL: z2n_periodogram-2.0.6-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.7.7

File hashes

Hashes for z2n_periodogram-2.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 9d74a77dc7f06c401aabc76a12a414cde8628a32642d2789f78d383cd2b36873
MD5 dc58d53b96efac29c5b2397e114af8fd
BLAKE2b-256 0daadcf8def969b6830135754a6dfae73eed08f0c0d4ace2d23235a2cee3fd91

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page