momentoscope / hextof-processor

Code for preprocessing data from the HEXTOF instrument at FLASH, DESY in Hamburg (DE)
https://hextof-processor.readthedocs.io/en/latest/
GNU General Public License v3.0
7 stars 4 forks source link

Fixed headers of all tutorials except last #30

Closed zain-sohail closed 3 years ago

zain-sohail commented 3 years ago

I am not certain how to fix the last one since it's not clear what fp is. The headers seem to load for the others but I am not able to test as they are taking data from restricted runs, it seems.

RealPolitiX commented 3 years ago

fp is fprocessing module from mpes, which contains a file loading function for the specific format. It's clear from the header, so I think you can keep it. The last notebook is more about data merging from multiple experimental runs, which is kinda beyond the current capability in hextof-processor, so it's more like a prospect.

zain-sohail commented 3 years ago

I didn't change that notebook. However in the other ones, I did remove animo, mpes and mpld3 headers since these are not the dependencies for hextof. If this is acceptable, please accept the pull request. Else, I can push a new commit to correct for some issue.