Difference between revisions of "Sample scripts.relax disp.return offset data"
Jump to navigation
Jump to search
(→How to) |
(→How to) |
||
Line 11: | Line 11: | ||
sys.path.append(status.install_path+sep+"sample_scripts"+sep+"relax_disp") | sys.path.append(status.install_path+sep+"sample_scripts"+sep+"relax_disp") | ||
+ | # Import the script, which have different functions in them | ||
+ | import return_offset_data | ||
− | + | # Execute one of the scripts | |
+ | return_offset_data.generate_theta_dic() | ||
</source> | </source> | ||
== See also == | == See also == | ||
[[Category:sample_scripts]] | [[Category:sample_scripts]] |
Revision as of 20:38, 6 March 2014
How to
# Python module imports.
from os import sep
import sys
# relax module imports.
from status import Status; status = Status()
# Add to sys path
sys.path.append(status.install_path+sep+"sample_scripts"+sep+"relax_disp")
# Import the script, which have different functions in them
import return_offset_data
# Execute one of the scripts
return_offset_data.generate_theta_dic()