cguilloud / xcalibu Goto Github PK
View Code? Open in Web Editor NEWxcalibu allows to handle a calibration provided as a table or a polynomial.
License: GNU Lesser General Public License v3.0
xcalibu allows to handle a calibration provided as a table or a polynomial.
License: GNU Lesser General Public License v3.0
Xcalibu does not handle table files with descending data at all (interpolation impossible)
And unsorted data gives weird results (unnatural albeit somewhat predictable)
I don't see a use case for unsorted tables, so I suggest to always sort table lines in ascending order immediately after reading the file.
@cguilloud do you see any reason not to do that ?
As discussed I will propose a simpler format for calib tables, to ease life of scientists when writing tables by hand.
Something like this:
# comments still start with #
# headers will be optional with reasonable default value
CALIB_NAME = Motor
CALIB_TYPE = TABLE
CALIB_TIME = 1400081171.300155
CALIB_DESC = "test simple table"
#Energy Motor
4.93990 -0.146702
5.00000 -0.145901
5.50000 -0.141491
5.75030 -0.138115
5.99960 -0.136984
6.50000 -0.133978
6.99990 -0.13299
Headers will be not mandatory
I don't like too much the idea to support multiple file format (old and new).
But I will implement a conversion utility (to be executed manually).
edit: both file formats supported for loading and saving
@cguilloud do you agree with this?
edit:
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.