neutronimaging / tofimaging Goto Github PK
View Code? Open in Web Editor NEWTool package for neutron time of flight analysis
License: GNU General Public License v3.0
Tool package for neutron time of flight analysis
License: GNU General Public License v3.0
adapt the BB module to handle TOF imaging dataset.
Implement routine in C++ for calibrating the flight path on reference sample.
Towards an alpha release the following items:
That is very often applied to process the data before fitting, the running average is done along the wavelength axis.
We need to have a requirements.txt, and a requirements_dev.txt that will list the python packages needed to be able to use that library.
User should have the option to normalize or not the data. If flag is off, the data loaded will be used directly. If flag is on, user will have to load the sample and the ob data.
It is often required to calibrate ToF spectra from tof to wavelength, when the instrumental parameters are not known but the material is. Add a simple function that asks which edges to use for calibration and automatically match experimental and reference edges to perform calibration.
Add constraints to parameters: t0, alpha and gamma should be non-negative
Bring the model and fitting function in C++
Implement edge fitting as in Sato 2017.
With the three-step fitting
Instead of using the edge fitting,
Implement a module that compute the ratio before and after the edge in a given dataset, without the previous need of edge fitting.
It should work for
Create build scripts:
Optimize performance of edgefitting_2D.py and eventually change the way to call it, it is very slow from the notebook
The kernel selection should have the following options:
Following refinements are required for scripts:
Implement a module for FOBI analysis.
Must include:
Optional:
Write the routine to perform edge fitting in all chosen pixels in an image.
Update the code and make it flexible in order to switch smoothly the fitting routine from attenuation to transmission and back.
The Kropff model has to be updated accordingly
Implement advanced binning given the d lambda / lambda of the different instruments
This steps will make the transition to a pip module easier.
Work will be done in branch jean_python_packaging
Add the source code in the external repo
Rename AdvancedBraggEdgeFitting_v2 to AdvancedBraggEdgeFitting, and update all calls from different notebooks
Comment the code and write wiki/documentation on what is done and what will have to be done
Untill the NCrystal can be integrated in the software package for accurate modeling of reference Bragg pattern, it would be useful to add reference spectra of commonly used elements and alloys with specific crystal structures.
Adding routine that loads data from .fits folders, output from MPC and tremsin correction, and normalize into transmission after handling infs, nans, and optionally applying moving average.
Prior to the 2D Bragg edge fitting routines it would be useful to detect the sample region to avoid undesired fitting.
Based on the spectrum correlation, detect sample regions with a similar spectrum hence, texture.
Update names to conform with style guide.
Convert from C array to std vectors
Update the pro file including armadillo lib and dependencies for Win10
Add the option to remove the exponential decay from the Kropff model, because for ODIN (long pulse) this should not be present.
Add a usual normalization module: divinding by the OB and dose correcting for TOF imaging dataset.
This could be a special case of the BB module for TOF datasets (withouth BB correction)
Clean up the code of ToF_notebooks and bring the cleaned files with history into the TOFImaging respository
Flag should be present to allow 2 normalization:
Implement a simplified version of multi-edge fitting. Parameters to be fitted: lattice parameter
Implement schemes for iterative fitting
Add docs inspired by https://github.com/neutronimaging/ImagingQuality/tree/master/docs/
Dear developer(s),
it is often the case that in one directory we have more than one ToF radiography (for example to split a long exposure time). These files are normally named with a _00x at the end of their given name (e.g. test_000_0nnnn.fits and test_001_0nnnn,fits). It would be great if with your program one would be able to correct each of them with its own spectrum file.
Thanks a lot and keep up with the great work
M
Total variation seems to be a useful scalar metric to compare different pixels and to identify regions with different spectra. I tried with different smoothing and noise levels and it looks promising.
Eq id=log(abs(sum(s(lambda))/N))
UnitTests failing in Mac and Win
Provide robust routine to fit the moderator decay at the calibration step, this parameters only depends on the instrument and should be not be fitted during the sample analysis
Provide moderator decay formula for different instruments, as described in the instruments paper, see https://doi.org/10.1107/S1600576719001730 for IMAT
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.