Surface NMR processing and inversion GUI
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324
  1. from USGSPlots import USGSPlots
  2. import plotyaml
  3. import sys
  4. if len(sys.argv) != 4 and len(sys.argv) != 2:
  5. print('Usage:')
  6. print('whatever.py filename channel option')
  7. print('Use whatever.py -h for detailed help')
  8. sys.exit()
  9. if len(sys.argv) == 2:
  10. print('help!')
  11. sys.exit()
  12. fname = str(sys.argv[1])
  13. chan = sys.argv[2]
  14. myplot = USGSPlots()
  15. myplot.getData(fname,chan)