lib/redred.py
def main():

    """ use a test file to test most funnctions in this file
    now set for norm_to_pump
    """

#    testfile = 'RuCl3-Pr-0.5mW-Pu-1.5mW-T-007.0k-1kAVG.mat'
#    testpath = '..//test_data//'
#    savepath = "E://DATA//RuCl3//"
#
#    singlefile = testpath + testfile
#
#    scns = rrScans()
#    filelist = ['RuCl3-Pr-0.5mW-Pu-1.5mW-T-005.0k-1kAVG.mat',
#                'RuCl3-Pr-0.5mW-Pu-1.5mW-T-006.0k-1kAVG.mat']
#
#    filelist2 = ['RuCl3-Pr-0.5mW-Pu-1.5mW-T-007.0k-1kAVG.mat',
#                'RuCl3-Pr-0.5mW-Pu-1.5mW-T-008.0k-1kAVG.mat']
#
#    for i in range(len(filelist)):
#        filelist[i] = testpath + filelist[i]
#    for i in range(len(filelist2)):
#        filelist2[i] = testpath + filelist2[i]
#
#    scns.importFiles(filelist)
#    scns.importFiles(filelist2, append=True)
#    print(scns.scanList)
#
#    print(scns.get_dependence_parameter())

    testmat = 'RuCl3-Pr-0.5mW-Pu-1.5mW-T-005.0k-1kAVG.mat'
    testcsv = 'RuCl3- 2017-04-19 17.33.14 Pump1.5mW Temp7.0K.txt'
    testpath = '..//test_scripts//test_data//'
    savepath = "E://DATA//RuCl3//"

    matfile = testpath + testmat
    csvfile = testpath + testcsv


    scan1 = rrScan()
    scan2 = rrScan()
    scan1.importFile(matfile)

    scan2.importFile(csvfile)
 use a test file to test most funnctions in this file
    now set for norm_to_pump
    
use a test file to test most funnctions in this file
now set for norm_to_pump
use a test file to test most funnctions in this file now set for norm_to_pump
def main():
    singlefile = testpath + testfile
    scns = rrScans()
    filelist = ['RuCl3-Pr-0.5mW-Pu-1.5mW-T-005.0k-1kAVG.mat',
                'RuCl3-Pr-0.5mW-Pu-1.5mW-T-006.0k-1kAVG.mat']
    filelist2 = ['RuCl3-Pr-0.5mW-Pu-1.5mW-T-007.0k-1kAVG.mat',
                'RuCl3-Pr-0.5mW-Pu-1.5mW-T-008.0k-1kAVG.mat']
    for i in range(len(filelist)):
        filelist[i] = testpath + filelist[i]
    for i in range(len(filelist2)):
        filelist2[i] = testpath + filelist2[i]
    scns.importFiles(filelist)
    scns.importFiles(filelist2, append=True)
    print(scns.scanList)
    print(scns.get_dependence_parameter())
    testmat = 'RuCl3-Pr-0.5mW-Pu-1.5mW-T-005.0k-1kAVG.mat'
    testcsv = 'RuCl3- 2017-04-19 17.33.14 Pump1.5mW Temp7.0K.txt'
    testpath = '..//test_scripts//test_data//'
    savepath = "E://DATA//RuCl3//"
    matfile = testpath + testmat
    csvfile = testpath + testcsv
    scan1 = rrScan()
    scan2 = rrScan()
    scan1.importFile(matfile)
    scan2.importFile(csvfile)
def main ( ) : testmat = 'RuCl3-Pr-0.5mW-Pu-1.5mW-T-005.0k-1kAVG.mat' testcsv = 'RuCl3- 2017-04-19 17.33.14 Pump1.5mW Temp7.0K.txt' testpath = '..//test_scripts//test_data//' savepath = "E://DATA//RuCl3//" matfile = testpath + testmat csvfile = testpath + testcsv scan1 = rrScan ( ) scan2 = rrScan ( ) scan1 . importFile ( matfile ) scan2 . importFile ( csvfile )
use a test file to test most funnctions in this file
now set for norm_to_pump
use a test file to test most funnctions in this file now set for norm_to_pump
""" use a test file to test most funnctions in this file
    now set for norm_to_pump
    """ #    testfile = 'RuCl3-Pr-0.5mW-Pu-1.5mW-T-007.0k-1kAVG.mat' #    testpath = '..//test_data//' #    savepath = "E://DATA//RuCl3//" # #    singlefile = testpath + testfile # #    scns = rrScans() #    filelist = ['RuCl3-Pr-0.5mW-Pu-1.5mW-T-005.0k-1kAVG.mat', #                'RuCl3-Pr-0.5mW-Pu-1.5mW-T-006.0k-1kAVG.mat'] # #    filelist2 = ['RuCl3-Pr-0.5mW-Pu-1.5mW-T-007.0k-1kAVG.mat', #                'RuCl3-Pr-0.5mW-Pu-1.5mW-T-008.0k-1kAVG.mat'] # #    for i in range(len(filelist)): #        filelist[i] = testpath + filelist[i] #    for i in range(len(filelist2)): #        filelist2[i] = testpath + filelist2[i] # #    scns.importFiles(filelist) #    scns.importFiles(filelist2, append=True) #    print(scns.scanList) # #    print(scns.get_dependence_parameter())