1. 21 Jul, 2021 2 commits
    • payno's avatar
      [workflow_concepts] Make it work with the workflow_concept · 2ee26319
      payno authored
      For now process is always call. When call from workflow_concept it insure the input has benn provided previously. Otherwise you should provide the xas_object. It might evolve with time.
      
      Add some simple unit test to insure an orangecontrib est workflow can be converted to a graph and a graph to an est workflow.
      Add test to insure we can execute it as well
      
      Make `Process` inherit from Task
      Create a OWESRFWidget which inherit from OWWidget and implement stuff for the task graph.
      2ee26319
    • payno's avatar
      [esrftaskgraph] insure example_larch.ows and example_pymca.ows can be converted to graph · c9dc4655
      payno authored
      processing source code used:
      
      input_ows_file = "..."
      from esrf2orange3.owsconvert import ows_to_esrf, esrf_to_ows
      from esrftaskgraph.graph import TaskGraph
      graph = ows_to_esrf(input_ows_file)
      c9dc4655
  2. 22 Jan, 2021 1 commit
  3. 18 Jan, 2021 1 commit
  4. 08 Jan, 2021 2 commits
  5. 07 Jan, 2021 1 commit
  6. 15 Dec, 2020 2 commits
  7. 14 Dec, 2020 1 commit
    • payno's avatar
      [core] add Spectra class. · 9dc6f969
      payno authored
      - refactor types to create submodule
      - Spectra is now a class instead of a simple list from XasObject
      - Spectra contains data which is a numpy ndarray of Spectrum. This was it is simpler
      to reshape it andd should offer some flexibility for the futures.
      - this is the main PR but several smaller one are expected to come for cleaning...
      9dc6f969
  8. 07 Dec, 2020 1 commit
  9. 03 Dec, 2020 1 commit
  10. 16 Dec, 2019 2 commits
  11. 23 Sep, 2019 1 commit
  12. 13 Aug, 2019 2 commits
  13. 09 Aug, 2019 1 commit
  14. 08 Aug, 2019 2 commits
  15. 07 Aug, 2019 1 commit
  16. 01 Aug, 2019 1 commit
  17. 29 Jul, 2019 1 commit
  18. 25 Jul, 2019 2 commits
  19. 16 Jul, 2019 3 commits
  20. 11 Jul, 2019 1 commit
    • payno's avatar
      [core][process] main rework of the processes. · a32b41b1
      payno authored
      - now process can take an output and an output_dict for storing the result in a multiprocessing.Proxy object
      - rework process action to avoid several call to pymca `processSpectrum` function
      - add an option to XasObject `to_dict` function to simply store raw data (which is the reference), but also to keep processing results to be used later.
      This is need for the 'non gui' workflow processing which uses a dictionnary instead of a XasObject.
      a32b41b1
  21. 09 Jul, 2019 1 commit
  22. 08 Jul, 2019 2 commits
    • payno's avatar
      [pool process + processing thread] proto - make processing in a pool and start... · 19917577
      payno authored
      [pool process + processing thread] proto - make processing in a pool and start from a separated thread to avoid gui freeze.
      
      Move Normalization to multiprocessing.Pool and the call from orange from a dedicated thread and with a QThreadPool.
      This prevent any gui freeze.
      For now this is just a prototype. Some thing to do:
      
      - create a pool_process that will be inherited from PyMca_normalization and QPyMca_normalization.
      - generalize this structure for each orange widget.
      19917577
    • payno's avatar
      [gui] add advancement on the processing · 2cd39480
      payno authored
      - create core/progress module which contains `Progress` class used to give some feedback about the advancement
      - create orangecontrib/progress module to overwrite Progress functions with a QSignal in order to connect this processing to the orange widget.
      - this require to move all core processing to classes (ft, exafs...) to keep the 'Progress' or 'QProgress' object
      2cd39480
  23. 03 Jul, 2019 2 commits
  24. 28 Jun, 2019 1 commit
  25. 27 Jun, 2019 1 commit
  26. 26 Jun, 2019 1 commit
  27. 25 Jun, 2019 2 commits
  28. 19 Jun, 2019 1 commit