-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from SiLab-Bonn/development
GIT: merge Development
- Loading branch information
Showing
140 changed files
with
10,085 additions
and
4,361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
include LICENSE | ||
include README.* | ||
include requirements.* | ||
#recursive-include docs * | ||
recursive-include examples * | ||
recursive-include tests * | ||
include requirements_docs.* | ||
recursive-include docs * | ||
recursive-include testbeam_analysis * |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
=============================================== | ||
Introduction | ||
=============================================== | ||
|
||
|travis-status| |appveyor-status| |rtd-status| |coverage| | ||
|
||
Testbeam analysis is a simple analysis of pixel-sensor data in particle beams. All steps of a complete analysis | ||
are implemented with a few independent python functions. If you want to understand the basics of telescope data | ||
reconstruction this code might help. | ||
If you want to have something fancy to account for thick devices in combination with low energetic beams | ||
use e.g. _EUTelescope_. Depending on the setup a resolution that is only ~ 15% worse can be archieved with this code. | ||
For a quick first impression check the examples in the documentation. | ||
|
||
In future releases it is forseen to make the code more readable and to implement a Kalman Filter to have the best | ||
possible track fit results. | ||
|
||
Installation | ||
============ | ||
You have to have Python 2/3 with the following modules installed: | ||
- cython | ||
- tables | ||
- scipy | ||
- matplotlib | ||
- numba | ||
|
||
If you are new to Python please look at the installation guide in the wiki. | ||
Since it is recommended to change example files according to your needs you should install the module with | ||
|
||
.. code-block:: bash | ||
python setup.py develop | ||
This does not copy the code to a new location, but just links to it. | ||
Uninstall: | ||
|
||
.. code-block:: bash | ||
pip uninstall testbeam_analysis | ||
Example usage | ||
============== | ||
Check the examples folder with data and examples of a Mimosa26 and a FE-I4 telescope analysis. | ||
Run eutelescope_example.py or fei4_telescope_example.py in the example folder and check the text output to | ||
the console as well as the plot and data files that are created to understand what is going on. | ||
In the examples folder type e.g.: | ||
|
||
.. code-block:: bash | ||
python fei4_telescope_example.py | ||
.. |travis-status| image:: https://travis-ci.org/SiLab-Bonn/testbeam_analysis.svg?branch=development | ||
:target: https://travis-ci.org/SiLab-Bonn/testbeam_analysis | ||
:alt: Build status | ||
|
||
.. |appveyor-status| image:: https://ci.appveyor.com/api/projects/status/github/SiLab-Bonn/testbeam_analysis | ||
:target: https://ci.appveyor.com/project/DavidLP/testbeam-analysis | ||
:alt: Build status | ||
|
||
.. |rtd-status| image:: https://readthedocs.org/projects/testbeam_analysis/badge/?version=latest | ||
:target: http://testbeam_analysis.rtfd.org | ||
:alt: Documentation | ||
|
||
.. |coverage| image:: https://coveralls.io/repos/SiLab-Bonn/testbeam_analysis/badge.svg?branch=development | ||
:target: https://coveralls.io/github/SiLab-Bonn/testbeam_analysis?branch=development | ||
:alt: Coverage | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.. toctree:: | ||
:numbered: | ||
|
||
Examples | ||
******** | ||
|
||
There are plenty of examples available that cover different setups. | ||
These examples are a good starting point to get to know `Testbeam Analysis`. | ||
|
||
ATLAS FE-I4 telescope | ||
===================== | ||
.. automodule:: testbeam_analysis.examples.fei4_telescope | ||
.. image:: _static/example_fei4/CorrelationColumn.png | ||
.. image:: _static/example_fei4/CorrelationRow.png | ||
|
||
Original correlation :download:`pdf output <_static/example_fei4/Correlation.pdf>` | ||
|
||
.. image:: _static/example_fei4/AlignmentCorrSlice.png | ||
.. image:: _static/example_fei4/AlignmentCorrFit.png | ||
|
||
Original pre-alignment :download:`pdf output <_static/example_fei4/Prealignment.pdf>` | ||
|
||
.. image:: _static/example_fei4/Track_chi2.png | ||
|
||
Original track fitting :download:`pdf output <_static/example_fei4/Correlation.pdf>` | ||
|
||
.. image:: _static/example_fei4/EventMonitor.png | ||
|
||
Original event plot :download:`pdf output <_static/example_fei4/Event.pdf>` | ||
|
||
.. image:: _static/example_fei4/Efficiency.png | ||
|
||
Original efficiency :download:`pdf output <_static/example_fei4/Efficiency.pdf>` |
Oops, something went wrong.