Python library for X-Ray Optics, Metrology Data Analysis and Telescopes Design.
Project description
Python library for X-Ray Optics, Metrology Data Analysis and Telescopes Design.
This library starts from code collected during many years of work on surface metrology and X-ray optics and wants to offer to the community an extensible tool to perfom common operations on surface and profile data, together with a set of tools to perform typical operations on data, in particular related to X-ray optics.
Installation
Optionally create a virtual environment and activate it.
python3 -m venv pyXsurf.venv
source pyXsurf.venv/bin/activate
And then install the package with pip:
Install released version from PyPI:
pip install pyXsurf
or
Install latest development version from github:
pip install "pyXsurf @ git+https://github.com/robeyes/pyXsurf.git"
or
Clone the repository and install in editable mode for development:
git clone https://github.com/robeyes/pyXsurf.git
cd pyXsurf
pip install -e .
Uninstalling
Project can be uninstalled running pip uninstall pyXsurf or equivalent.
How to use
All modules are packaged into pyXsurf package, you can import them with something like:
import pySurf.data2D
Additional resources for usage guidance
docs official documentation <https://pyxsurf.readthedocs.io>
test contains a collection of tests and examples.
notebooks contains a collection of Jupyter notebooks with examples and tutorials.
Modules
A basic description of the different modules is:
dataIO Generic routines for accessing and manipulating data and files.
plotting Plotting functions for pySurf data.
pyGeo3D Functions for geometry in space (lines and planes).
pyProfile Equivalent of pySurf acting on Profiles.
pySurf Functions and classes acting on 3D points or surfaces.
thermal Functions for modelling of thermal forming of glass.
Contributing
Please report bugs or feature requests, missing documentation, or open a issue on github https://github.com/vincenzooo/pyXsurf/issues.
Acknowledgements
The code in this library is the result of many years of work. Many colleagues from my current or former Institutions contributed directly and indirectly with exchange of code, ideas, data and good time. The ongoing improvements to this project are funded by INAF “Bando per innovazione tecnologica”, which the author also thanks for the supportive and stimulating working environment.
Citation
License
This project is Copyright (c) Vincenzo Cotroneo and licensed under the terms of the BSD 3-Clause license. See the licenses folder for more information.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pyXsurf-2.0.0.dev2.tar.gz
.
File metadata
- Download URL: pyXsurf-2.0.0.dev2.tar.gz
- Upload date:
- Size: 191.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3950fbcf42e36530456bc843cc3bff7dd0030e7148b2d11b58f62ce36a7e78b7 |
|
MD5 | b31bb4c169c5355a0aaf45d74c4a48c2 |
|
BLAKE2b-256 | 066d9ce8ab0c86f49617127e0d12d2aa362a88fe09873fc113b72365823aa314 |
File details
Details for the file pyXsurf-2.0.0.dev2-py3-none-any.whl
.
File metadata
- Download URL: pyXsurf-2.0.0.dev2-py3-none-any.whl
- Upload date:
- Size: 206.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e404c13380984fd2d7df38117fade3af62fd5ed11786d8ce24a34496afa324bd |
|
MD5 | 7b474c24c4ff83b6a6027723faa54f58 |
|
BLAKE2b-256 | 2f3bfda5a2fdad61f781741ed7bc34b4658e29fe5798ef62fc8b4f319c92d416 |