Changeset eadf1f9 in sasview
- Timestamp:
- Mar 12, 2010 12:34:49 PM (15 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 3cd95c8
- Parents:
- ded62ce
- Location:
- DataLoader/readers
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
DataLoader/readers/IgorReader.py
rfe78c7b readf1f9 21 21 import math, logging 22 22 from DataLoader.data_info import Data2D, Detector 23 from DataLoader.manipulations import reader2D_converter 23 24 24 25 # Look for unit converter … … 151 152 isCenter = False 152 153 line_toks = line.split() 153 # Center in bin number 154 center_x = float(line_toks[0]) 155 center_y = float(line_toks[1]) 154 155 # Center in bin number: Must substrate 1 because the index starts from 1 156 center_x = float(line_toks[0])-1 157 center_y = float(line_toks[1])-1 156 158 157 159 if line.count("BCENT")>0: … … 292 294 # Store loading process information 293 295 output.meta_data['loader'] = self.type_name 296 output = reader2D_converter(output) 297 294 298 return output 295 299 -
DataLoader/readers/danse_reader.py
rfe78c7b readf1f9 23 23 import logging 24 24 from DataLoader.data_info import Data2D, Detector 25 from DataLoader.manipulations import reader2D_converter 25 26 26 27 # Look for unit converter … … 278 279 # Store loading process information 279 280 output.meta_data['loader'] = self.type_name 281 output = reader2D_converter(output) 280 282 return output 281 283
Note: See TracChangeset
for help on using the changeset viewer.