Commit Graph

5830 Commits

Author SHA1 Message Date
Jerome Kieffer 4bf1618a41 Consistency between integrators 2019-05-06 18:43:02 +02:00
Jerome Kieffer 7540b6a131 clean up a few debug prints 2019-05-06 18:38:07 +02:00
Jerome Kieffer 3a0831641e Fix a couple of bugs ... not the results are consistent with numpy
(which is what is expected)
2019-05-06 18:36:36 +02:00
Jerome Kieffer 2d2365e274 fix preproc/numpy in the case where split_result==4 2019-05-06 18:27:02 +02:00
Jerome Kieffer 4c9ccfd20d nogil issue 2019-05-06 18:06:24 +02:00
Jerome Kieffer 4316cf32c8 Merge remote-tracking branch 'origin/Expose_cython_histograms' into Expose_cython_histograms 2019-05-06 18:04:39 +02:00
Jerome Kieffer 1628591382 set function as nogil to ensure optimal speed 2019-05-06 18:03:04 +02:00
Jerome Kieffer 5b61e42a3b This is WIP: tests are broken 2019-05-06 17:05:38 +02:00
Jerome Kieffer d86b0f6017 allow test without OpenCL ... one of the test was failing 2019-05-06 16:17:03 +02:00
Jerome Kieffer 461f07f42c Merge remote-tracking branch 'upstream/master' into Expose_cython_histograms 2019-05-06 15:41:22 +02:00
Jerome Kieffer 61fffefe30 close #1211 2019-05-06 11:18:21 +02:00
Valentin Valls 9aced9a873
Merge pull request #1210 from kif/1208_improve_doc
Minimal documentation on invert_geometry
2019-05-06 10:38:31 +02:00
Jerome Kieffer c899448082 Minimal documentation on invert_geometry 2019-05-05 22:23:30 +02:00
Jerome Kieffer 3df7a3d216 All tests are suposed to pass and the code is complete (1d nosplit
histogram cython) while untested.
2019-05-02 13:43:37 +02:00
Jerome Kieffer e3e8667a7a This is WIP ... 2019-04-30 18:12:00 +02:00
Jerome Kieffer 7f1a7a46b6 Single histogram to rull them all 2019-04-30 14:13:21 +02:00
Jerome Kieffer 212710ac0c clean up depreciated/commented code 2019-04-29 15:57:45 +02:00
Jerome Kieffer 6d6d25dd34 Merge remote-tracking branch 'upstream/master' 2019-04-29 15:44:39 +02:00
Jerome Kieffer 443dedfb78
Merge pull request #1203 from vallsv/history-of-geometry
Provide an history of geometry
2019-04-27 10:05:58 +02:00
Valentin Valls 0f31b38765
Merge pull request #1207 from kif/histogram_engine_rebased
Histogram engine rebased
2019-04-26 15:47:33 +02:00
Jerome Kieffer 100a11e0cd Validation of the Python histogram for _integrate1d_ng 2019-04-25 17:11:21 +02:00
Jerome Kieffer 8f289b3a39 Provide new gerneration engine for python histograms (+OpenCL
histograms)
2019-04-25 17:10:59 +02:00
Valentin Valls 43bb2d2b6a Remove pointless information 2019-04-25 17:10:26 +02:00
Valentin Valls 7d47a8ebf2 Update the calibration params 2019-04-25 17:10:26 +02:00
Valentin Valls 87e0791d17 Typo 2019-04-25 17:10:26 +02:00
Valentin Valls 093e3bcae4 Remove the RMS cache (residual is not RMS, there is a sqrt in between) 2019-04-25 17:10:26 +02:00
Valentin Valls 5318c32bd0 Reset the cache if param changes 2019-04-25 17:10:26 +02:00
Valentin Valls 87c78aea71 Make sure chi2 uses the right params 2019-04-25 17:10:26 +02:00
Jerome Kieffer a0d0b1fcad Correct bug when it comes down to error propagation (once again the
square got lost)
2019-04-25 17:09:23 +02:00
Jerome Kieffer a8b01be4b5 Provide 2D integration based on numpy histograms 2019-04-25 17:09:14 +02:00
Jerome Kieffer 6929502ccb fix tests of csr_engine 2019-04-25 17:09:02 +02:00
Jerome Kieffer 6276da43e8 clean up the code to use the same namedtuple as histogram_engine 2019-04-25 17:08:49 +02:00
Jerome Kieffer 605e1e8ed6 Start implementing new generation integrator based on numpy histograms 2019-04-25 17:08:24 +02:00
Jerome Kieffer bf7b3b35dc This is WIP 2019-04-25 17:05:52 +02:00
Jerome Kieffer 2952240e98 Provide a structure 2019-04-25 17:05:37 +02:00
Valentin Valls db93e55ab2 Typo 2019-04-25 16:58:22 +02:00
Valentin Valls 6f14690f01 Use user interaction instead of model change 2019-04-25 14:32:01 +02:00
Valentin Valls df65524157 Add support of angle unit in geometry history combo box 2019-04-25 14:29:20 +02:00
Valentin Valls e15d4ec730 Do not change the currentIndex when history grows 2019-04-25 14:13:41 +02:00
Valentin Valls 5ad8033c94 Avoid the disable hardcoded QComboBox update of currentIndex 2019-04-25 14:12:59 +02:00
Valentin Valls e1093e5ba6 Use CalibrationState signal to update the display 2019-04-25 11:49:41 +02:00
Valentin Valls ce12c5497e Remove dead code 2019-04-25 11:15:58 +02:00
Valentin Valls dbd31bc5ce Create a CalibrationState to store all needed data 2019-04-25 11:15:40 +02:00
Valentin Valls 858c15a98b Typo 2019-04-25 11:09:18 +02:00
Valentin Valls 0421751990 Typo 2019-04-25 11:08:56 +02:00
Valentin Valls 62a8cb838e
Merge pull request #1188 from kif/1129_OpenCL_histogram_rebased2
1129 open cl histogram rebased2
2019-04-24 09:13:03 +02:00
Jerome Kieffer 38dbd7bc1d Skip test to prevent failure on platform where OpenCL is missing 2019-04-23 12:33:54 +02:00
Valentin Valls 4f4f31ec17 Typo 2019-04-23 11:05:02 +02:00
Valentin Valls e1d1a5bfc7 Add tooltips 2019-04-23 11:05:02 +02:00
Valentin Valls 8dbb718951 Also save the history when it is manually edited 2019-04-23 11:05:02 +02:00