Commit da340bd5 authored by Oliver Lohmann's avatar Oliver Lohmann

file path and names added.

parent f505c26c
# Default ignored files
/workspace.xml
\ No newline at end of file
<component name="InspectionProjectProfileManager">
<settings>
<option name="USE_PROJECT_PROFILE" value="false" />
<version value="1.0" />
</settings>
</component>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" project-jdk-name="Python 2.7" project-jdk-type="Python SDK" />
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/python_reduction_transmission_oct2019.iml" filepath="$PROJECT_DIR$/.idea/python_reduction_transmission_oct2019.iml" />
</modules>
</component>
</project>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager">
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/venv" />
</content>
<orderEntry type="jdk" jdkName="Python 2.7" jdkType="Python SDK" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
<component name="TestRunnerService">
<option name="PROJECT_TEST_RUNNER" value="Unittests" />
</component>
</module>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>
\ No newline at end of file
......@@ -3,7 +3,53 @@
Created on Tue Nov 5 15:19:47 2019
@author: Oliver Löhmann oliverlohmann@esss.se
measured files
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 518M Nov 4 15:48 BCC-1-After_Slit_3-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 307M Nov 4 14:41 BCC-1-After_Slit_3-WFM.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 507M Nov 4 16:21 BCC-2-Detector-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 250M Nov 5 10:28 BCC-2-Detector-WFM.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 697M Nov 5 11:19 BCC-3-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 769M Nov 4 16:50 BCC-4-94cm_to_detector-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 543M Nov 4 17:17 BCC-4-94cm_to_detector-WFM.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 154M Nov 4 16:02 Cd-1-After_Slit_3-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 245M Nov 4 14:51 Cd-1-After_Slit_3-WFM.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 287M Nov 4 16:29 Cd-2-Detector-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 235M Nov 5 10:35 Cd-2-Detector-WFM.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 595M Nov 4 15:04 Open_beam-1-After_Slit_3-WFM.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 231M Nov 4 16:59 Open_beam-4-94cm_to_detector-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 205M Nov 4 16:16 Plastic_double-1-After_Slit_3-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 261M Nov 4 14:56 Plastic_double-1-After_Slit_3-WFM.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 139M Nov 4 16:44 Plastic_single-2-Detector-SP.hdf
-rw-r--r-- 1 dmkafkatonexus dmkafkatonexus 136M Nov 5 10:39 Plastic_single-2-Detector-WFM.hdf
"""
import sys
sys.path.append("c:/MantidInstall/bin")
from mantid.simpleapi import *
import os
### Start of modify section
transmission_file = 'BCC-1-After_Slit_3-SP.hdf'
### End of modify section
# todo import measurement files
file_path = 'e:/Work_HZB_ESS/V20_2019_10_data/'
ws = LoadEventNexus(Filename=os.path.join(file_path, transmission_file), LoadMoitors=False)
# todo import definitions
# todo import reduction
print "Test"
# todo visualization
print ('Test')
print ('Test')
print ('Test')
print ('Test')
print ('Test')
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment