neutrons / magnetismreflectometer Goto Github PK
View Code? Open in Web Editor NEWReduction code for the SNS Magnetism Reflectometer
License: MIT License
Reduction code for the SNS Magnetism Reflectometer
License: MIT License
The live reduction should check if there is sufficient count in the incoming data chunk before starting (similar to auto reduction).
This will help the live reduction to avoid the following error:
`ValueError: Invalid value for property Params (dbl list) from string "33340.8,0,33340.8": When setting value of property "Params": Cannot have a zero bin width`
Here is one example case: https://monitor.sns.gov/report/ref_m/39525/
The measurement of the incident beam should not go through live reduction, which is safeguarded by a PV.
However, users, especially new ones, could forget to update the PV field during experiment, which results in the following error during processing:
`must be real number, not NoneType`
Here is one example case: https://monitor.sns.gov/report/ref_m/39493/
We need more meaningful error message from the reduction package so that the user is aware that they should check their experiment settings before moving onto the next measurement.
The code does not work at all for python3 as the python introspection
library has changed. Unfortunately, the blog post referenced in the code is now private and can no longer be read.
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.