Skip to main content
Warning: You are using the test version of PyPI. This is a pre-production deployment of Warehouse. Changes made here affect the production instance of TestPyPI (testpypi.python.org).
Help us improve Python packaging - Donate today!

Beam Profile Analysing Tools

Project Description

beprof

Overview

docs
tests
package

Beam Profile Analysing Tools

Library provides methods to work with Beam Profiles which are sets of points (might be 2-D or 3-D also with extra metadata) sorted by one of coordinates. cd beprof is based on nparray class from numpy, and it provides numerous tools for different computations and data analysis.

Installation

Current version available on testing PyPi server, although once a stable version is ready it will be pushed to official PyPi repo.

To install latest (unstable) version, type:

pip install -i https://testpypi.python.org/pypi beprof --user

For now, installation can be done from this GIT repository, using:

pip install versioneer
pip install git+https://github.com/DataMedSci/beprof.git

To unistall, simply use:

pip uninstall beprof

Documentation

https://beprof.readthedocs.io/

Features

Once you install beprof, you should be able to import is as a python module<br> Using ipython the code would be i.e.:

import beprof
from beprof import curve  #imports curve module
from beprof import profile  #imports profile module

Once you import necessary modules, you can use them to work with i.e. profiles:

from beprof import profile
dir(profile)
p = profile.Profile([[0, 1], [1, -1], [2, 3], [4, 0]])
print(p)

A few examples of data you can work with using beprof can be downloaded from another branch of this project named feature/examples https://github.com/DataMedSci/beprof.git

You can also use another modules as numpy or matplotlib to work with beprof:

#assuming you already defined p as above
import numpy as np
import matplotlib.pyplot as plt
foo = np.asarray(p)
print(foo.shape())
plt.plot(foo[:,0], foo[:,1])
plt.show()

Credits

This package was created with Cookiecutter and the grzanka/cookiecutter-pip-docker-versioneer project template.

Release History Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
beprof-0.post0.dev1601465995959-py2.py3-none-any.whl (12.2 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Jun 15, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting