-
-
This post seems relevant:
https://stackoverflow.com/questions/35595766/matplotlib-line-magic-causes-syntaxerror-in-python-script
-
Those variables appear as semi-magic numbers. Maybe they could be introduced in some more details?
-
This might be relevant:
https://stackoverflow.com/questions/44772007/when-to-use-absolute-path-vs-relative-path-in-python
-
A had to change `startrun` from 426 to 434 to get it to work.
-
Those lines of codes appear several times (with absolute instead of relative file path):
```python
for image in range(1, 101):
data1 = np.genfromtxt('img_%04d_%05d.dat' % (run + startrun, i…
-
Consider this code block:
```python
for file in filtered_files:
data1 = np.genfromtxt('img_%04d_%05d.dat' % (run + startrun, image),
skip_header=2, skip_footer=60)
…
-
It might be useful to store all the image/dta-files within a common subfolder
-
This might be relevant:
https://stackoverflow.com/questions/3207219/how-do-i-list-all-files-of-a-directory
Easier than the foor loop as described in #6
-