Open fzierler opened 3 years ago
First look seems fine to me. Have you also tried building it with the Package mentioned in https://inspirehep.net/literature/1837727 instead of DataPoint from #20?
Also the mentioned package ADerrors.jl seems to be very finished. Maybe we could contact the maintainer and join forces?
Also the mentioned package ADerrors.jl seems to be very finished. Maybe we could contact the maintainer and join forces?
I tried to use ADerrors.jl for performing the propagation of uncertainty of the effective masses, but the resulting error was always an order of magnitude smaller than with the methods in this PR. It might just be that I do not fully understand the error reduction techniques in ADerrors.jl (I will first need to read the references provided in that repo), but for now I am hesitant to start relying on that package since I have not fully understood it (yet?).
Maybe we should think of this package (at least for now) as a collection to most naive implementations for performing lattice spectroscopy. Once we have this working we can add more sophisticated ways of doing this. I will definitely continue to study the details of ADerrors.jl and I think at some point we might be able to provide error propagation using ADerrors.jl in addition to the naive implementations.
We definitely should mention this package in the README.
I tried to use ADerrors.jl for performing the propagation of uncertainty of the effective masses, but the resulting error was always an order of magnitude smaller than with the methods in this PR. It might just be that I do not fully understand the error reduction techniques in ADerrors.jl (I will first need to read the references provided in that repo), but for now I am hesitant to start relying on that package since I have not fully understood it (yet?).
Okay seems reasonable.
Maybe we should think of this package (at least for now) as a collection to most naive implementations for performing lattice spectroscopy.
By "this package" you mean our package (i.e. LatSpec.jl) am I right?
We definitely should mention this package in the README.
Feel free to add it immediately.
By "this package" you mean our package (i.e. LatSpec.jl) am I right?
Yes
The Docs for this PR are deployed! 🥳 You can find them here.
Please make sure that you have documented your new feature properly:
I guess this would need an adaption to the new PR in #25. Should I merge the current state of this PR into #25 and resolve the differences and close this one? In the end effective masses should be a fundamental feature of LatSpec so it should be fine to have one submit to master where we rework the overall type and add this.
I guess this would need an adaption to the new PR in #25. Should I merge the current state of this PR into #25 and resolve the differences and close this one? In the end effective masses should be a fundamental feature of LatSpec so it should be fine to have one submit to master where we rework the overall type and add this.
Yes, I think this is a good approach.
Effective mass for
Number
s andDataPoint
s including error propagation. Still needs tests and requires #20.