LoadMultipleGSS v1

../_images/LoadMultipleGSS-v1_dlg.png

LoadMultipleGSS dialog.

Summary

This algorithm loads multiple gsas files from a single directory into mantid.

Properties

Name Direction Type Default Description
FilePrefix Input string    
RunNumbers Input int list 0  
Directory Input string    

Description

This algorithm loads multiple gsas files from a single directory into mantid.

Usage

Note

To run these usage examples please first download the usage data, and add these to your path. In MantidPlot this is done using Manage User Directories.

LoadMultipleGSS(FilePrefix="PG3",RunNumbers="11485,11486",Directory="")

#quick test:
print "Found workspace PG3_11485",mtd.doesExist("PG3_11485")
print "It has",mtd["PG3_11485"].getNumberHistograms(),"histogram, with",mtd["PG3_11485"].blocksize(),"bins"
print "Found workspace PG3_11486",mtd.doesExist("PG3_11486")
print "It has",mtd["PG3_11486"].getNumberHistograms(),"histogram, with",mtd["PG3_11486"].blocksize(),"bins"

Output:

Found workspace PG3_11485 True
It has 1 histogram, with 2193 bins
Found workspace PG3_11486 True
It has 1 histogram, with 731 bins

Categories: Algorithms | DataHandling\Text