Skip to main content

beprof

https://img.shields.io/pypi/v/beprof.svg https://img.shields.io/travis/DataMedSci/beprof.svg Documentation Status

Overview

docs

Documentation Status

tests

Travis-CI Build Status Appveyor Build Status Requirements Status Issue Count

package

PyPI Package latest release PyPI Package monthly downloads PyPI Wheel Supported versions Supported implementations

Overv.io issue board: https://overv.io/DataMedSci/beprof/

Beam Profile Analysing Tools

Library provides methods to work with Beam Profiles which are sets of points (2-D with optional 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.

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

pip install setuptools 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 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)

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()

Note that beprof is a library and end-users shouldn’t “run it”. It is also strongly discouraged to use git clone to download code. Git is only for developers, end-users should use pip installation. If you are interested in development - have a look at CONTRIBUTING section.

Credits

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

Metadata

Release files for beprof 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for beprof 0.1.4
File Interpreter ABI Platform
beprof-0.1.4-py2.py3-none-any.whl Python 3, Python 2 none any Details

Release files / beprof-0.1.4-py2.py3-none-any.whl

Download URL beprof-0.1.4-py2.py3-none-any.whl
Size 15.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
ee9679c049c8c05584932e6fafd069805a9e0f09bff44e226dd3f5aa210a9cc3
BLAKE2b-256 checksum
How to use checksums
995105154adc94002b662710401027f807df543aea97b7a3bcb505d9458498e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.5.6

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

0.1.0

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