This repository is used to group all cods relating to the acquisition and analysis of spot patterns and spot profiles using the a LOGOS scintillator detector
Currently a non-working version
A script containing various functions that are used in both the spot qa and commissioning scripts
Sort an acquired set of measurements into a summary excel file
to be used on a single acquisition folder to plot the profile details provided by the beamworks software
Script to summarise a set of acquired single spot profiles IN PROGRESS
A script for ongoing qa that will analyse a predefined grid of spots and write the results to an excel spreadsheet
Contains various functions for the spot grid qa script
Script to convert single spot images acquired using the LOGOS3000 or 4000 into numpy array - astropy is then used to fit a single and double Gaussian in 2D. Plots along the central axis are saved in an excel workbook with linear and log scale and a difference image between the 2D fit and the raw image values is included
script to analyse a uniformity image - IN PROGRESS
README.md .gitignore LICENSE logos_module.py spot_commissioning.py spot_qa.py
Do not install, please use latest version of the executable when available
Risk | Solution |
---|---|
If the incorrect files/energies are used for commissioning this may result in discrepancies between planned and delivered dose - this would be picked up during testing but will add significant time to trouble shooting | Commissioning results will always be checked visually during the full process to pick up errors of this kind |
If QA test pass incorrectly - this may lead to beam errors not being picked up | All QA tests should be independently checked |
If QA tests fail incorrectly - this may add time troubleshooting on set | All QA tests should be independently checked |
No tests currently included Perhaps a test with a known data set - ensure consistant output.
Acquire images and save into a directory along with the active script which provides the pixel resolution run the code and navigate to this directory. Choose a location to save the results
Installing requirements.txt may produce conflicts when using certain versions of python. All development and testing was done using python 3.8.
Pull requests are welcome.
For major changes, please open a ticket first to discuss desired changes:
Spot_Analysis/issues
If making changes, please check all tests and add if required.
All code within this package distributed under GNU GPL-3.0 (or higher).
Full license text contained within the file LICENCE.
### Copyright (C) 2020: Callum Stuart Main Gillies
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.