Conversation
… global variables
Functions: - tip orbital coefficients based on the tip - get tip positions for fixed or relaxed scan - run_stm_scan (does the scanning)
This file takes a config file as command line argument and runs the stm scan using the settings
Also changed relative location of the repository root. Same will be done for other tests next.
|
I'm done with the updates now. All the tests have For now, the script is run with a command like this and there's a default/example config in TODO:
|
|
I had forget about this - is this an active one? Sorry. |
ondrejkrejci
left a comment
There was a problem hiding this comment.
Thank you, looks very good, comments in the files themselves. Sorry for my delay!
| return eig; | ||
|
|
||
| def cut_eigenenergies(eig): | ||
| def cut_eigenenergies(eig, cut_min, cut_max): |
There was a problem hiding this comment.
While, I am definitely for this one, I do not see, that the you would remove the global definitions at line 102 and 103. Would it be possible to remove them? If not, please add a comment so they should be removed in the future.
|
|
||
| if __name__=='__main__': | ||
| # Get config file from command line | ||
| config_file = sys.argv[1] |
There was a problem hiding this comment.
Could you please add here a helper message, if there is no argv, or more than 1, thank you!
This is a rather large PR with a lot of changes
pyPPSTM/STMutils.pyandpyPPSTM/visualization.pythat contain all the functionalities previously inPPSTM_simple.py.tomlfilerun_ppstm.pythat uses the functions from the above modules