iotbx.detectors
index
/net/chevy/raid1/nat/src/cctbx_project/iotbx/detectors/__init__.py

 
Package Contents
       
active_area_filter
adsc
adsc_module
beam_center_convention
bruker
cbf
context (package)
detectorbase
dtrek
edf
eiger
generic_detector
hamamatsu
image_from_http_request
macscience
mar
marIP
noir
npy
pilatus_minicbf
pilatus_slice
raxis
raxis_nonsquare
raxisbase
saturn
test_mar
test_raxis2
tst_adsc
tst_cbf_comp_read_meth
tst_debug_write
tst_detectors
tst_py_cbf
url_support
util (package)

 
Classes
       
__builtin__.object
dataset_info
exceptions.Exception(exceptions.BaseException)
ImageException
iotbx.detectors.adsc.ADSCImage(iotbx.detectors.detectorbase.DetectorImageBase)
SMVImage
iotbx.detectors.detectorbase.DetectorImageBase(__builtin__.object)
EDFWrapper(iotbx.detectors.edf.EDFImage, iotbx.detectors.detectorbase.DetectorImageBase)
iotbx.detectors.edf.EDFImage
EDFWrapper(iotbx.detectors.edf.EDFImage, iotbx.detectors.detectorbase.DetectorImageBase)

 
class EDFWrapper(iotbx.detectors.edf.EDFImage, iotbx.detectors.detectorbase.DetectorImageBase)
    
Method resolution order:
EDFWrapper
iotbx.detectors.edf.EDFImage
iotbx.detectors.detectorbase.DetectorImageBase
__builtin__.object

Methods defined here:
__init__(self, filename)
readHeader(self)

Methods inherited from iotbx.detectors.edf.EDFImage:
read(self)

Methods inherited from iotbx.detectors.detectorbase.DetectorImageBase:
__getattr__(self, attr)
bin_safe_set_data(self, new_data_array)
copy_common_attributes_from_parent_instance(self, parentobject)
debug_write(self, fileout, mod_data=None)
detector_coords_as_image_coords(self, x, y)
Convert absolute detector position (in mm) to integer-value image pixel coordinates.
detector_coords_as_image_coords_float(self, x, y)
Convert absolute detector position (in mm) to floating-value image pixel coordinates.
endian_swap_required(self)
fileLength(self)
getEndian(self)
get_beam_center_mm(self)
get_beam_center_pixels_fast_slow(self)
get_data_type(self)
get_flex_image(self, binning=1, brightness=1.0)
get_pixel_intensity(self, coords)
get_raw_data(self)
get_spotfinder(self, distl_params)
get_tile_manager(self, phil)
image_coords_as_detector_coords(self, x, y, readout=None)
Convert image pixel coordinates to absolute position on the detector
(in mm).
initialize_viewer_properties(self, phil_parameters, verbose=True)
# code developed for the image viewer. phil_parameters is a scope extract
setBin(self, bin)
set_beam_center_convention(self, beam_center_convention)
show_header(self, out=None)

Data descriptors inherited from iotbx.detectors.detectorbase.DetectorImageBase:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from iotbx.detectors.detectorbase.DetectorImageBase:
data_types = {'BEAM_CENTER_X': <type 'float'>, 'BEAM_CENTER_Y': <type 'float'>, 'CCD_IMAGE_SATURATION': <type 'int'>, 'DETECTOR_SN': <type 'str'>, 'DISTANCE': <type 'float'>, 'OSC_RANGE': <type 'float'>, 'OSC_START': <type 'float'>, 'PHI': <type 'float'>, 'PIXEL_SIZE': <type 'float'>, 'SIZE1': <type 'int'>, ...}

 
class ImageException(exceptions.Exception)
    
Method resolution order:
ImageException
exceptions.Exception
exceptions.BaseException
__builtin__.object

Data descriptors defined here:
__weakref__
list of weak references to the object (if defined)

Methods inherited from exceptions.Exception:
__init__(...)
x.__init__(...) initializes x; see help(type(x)) for signature

Data and other attributes inherited from exceptions.Exception:
__new__ = <built-in method __new__ of type object>
T.__new__(S, ...) -> a new object with type S, a subtype of T

Methods inherited from exceptions.BaseException:
__delattr__(...)
x.__delattr__('name') <==> del x.name
__getattribute__(...)
x.__getattribute__('name') <==> x.name
__getitem__(...)
x.__getitem__(y) <==> x[y]
__getslice__(...)
x.__getslice__(i, j) <==> x[i:j]
 
Use of negative indices is not supported.
__reduce__(...)
__repr__(...)
x.__repr__() <==> repr(x)
__setattr__(...)
x.__setattr__('name', value) <==> x.name = value
__setstate__(...)
__str__(...)
x.__str__() <==> str(x)
__unicode__(...)

Data descriptors inherited from exceptions.BaseException:
__dict__
args
message

 
class SMVImage(iotbx.detectors.adsc.ADSCImage)
    
Method resolution order:
SMVImage
iotbx.detectors.adsc.ADSCImage
iotbx.detectors.detectorbase.DetectorImageBase
__builtin__.object

Methods defined here:
__init__(self, filename)

Methods inherited from iotbx.detectors.adsc.ADSCImage:
dataoffset(self)
getEndian(self)
#ADSC Quantum 210, ALS beamline 5.0.2; SUN: unsigned short big endian
#ADSC Quantum 4R, ALS beamline 5.0.3; WINDOWS: unsigned short little endian
integerdepth(self)
readHeader(self, maxlength=12288, external_keys=None)

Methods inherited from iotbx.detectors.detectorbase.DetectorImageBase:
__getattr__(self, attr)
bin_safe_set_data(self, new_data_array)
copy_common_attributes_from_parent_instance(self, parentobject)
debug_write(self, fileout, mod_data=None)
detector_coords_as_image_coords(self, x, y)
Convert absolute detector position (in mm) to integer-value image pixel coordinates.
detector_coords_as_image_coords_float(self, x, y)
Convert absolute detector position (in mm) to floating-value image pixel coordinates.
endian_swap_required(self)
fileLength(self)
get_beam_center_mm(self)
get_beam_center_pixels_fast_slow(self)
get_data_type(self)
get_flex_image(self, binning=1, brightness=1.0)
get_pixel_intensity(self, coords)
get_raw_data(self)
get_spotfinder(self, distl_params)
get_tile_manager(self, phil)
image_coords_as_detector_coords(self, x, y, readout=None)
Convert image pixel coordinates to absolute position on the detector
(in mm).
initialize_viewer_properties(self, phil_parameters, verbose=True)
# code developed for the image viewer. phil_parameters is a scope extract
read(self)
setBin(self, bin)
set_beam_center_convention(self, beam_center_convention)
show_header(self, out=None)

Data descriptors inherited from iotbx.detectors.detectorbase.DetectorImageBase:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

Data and other attributes inherited from iotbx.detectors.detectorbase.DetectorImageBase:
data_types = {'BEAM_CENTER_X': <type 'float'>, 'BEAM_CENTER_Y': <type 'float'>, 'CCD_IMAGE_SATURATION': <type 'int'>, 'DETECTOR_SN': <type 'str'>, 'DISTANCE': <type 'float'>, 'OSC_RANGE': <type 'float'>, 'OSC_START': <type 'float'>, 'PHI': <type 'float'>, 'PIXEL_SIZE': <type 'float'>, 'SIZE1': <type 'int'>, ...}

 
class dataset_info(__builtin__.object)
     Methods defined here:
__init__(self, base_name, ranges)
__str__(self)
format(self)
get_frame_path(self, frame)

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Functions
       
Bin2_by_2(...)
Bin2_by_2( (int)arg1) -> int :
 
    C++ signature :
        scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > Bin2_by_2(scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > >)
ImageFactory(filename)
MakeSquareRAXIS(...)
MakeSquareRAXIS( (int)arg1, (int)arg2, (int)arg3, (int)arg4) -> int :
 
    C++ signature :
        scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > MakeSquareRAXIS(int,int,int,scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > >)
ReadADSC(...)
ReadADSC( (str)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> int :
 
    C++ signature :
        scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > ReadADSC(std::string,long,long,long,int)
ReadDIP(...)
ReadDIP( (str)arg1, (int)arg2, (int)arg3, (bool)arg4) -> int :
 
    C++ signature :
        scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > ReadDIP(std::string,long,long,bool)
ReadDTrek(...)
ReadDTrek( (str)raw, (str)type_code, (int)slow, (int)fast, (bool)swap, (int)uncompress) -> int :
 
    C++ signature :
        scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > ReadDTrek(std::string,std::string,long,long,bool,long)
ReadMAR(...)
ReadMAR( (str)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> int :
 
    C++ signature :
        scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > ReadMAR(std::string,long,long,long,int)
ReadRAXIS(...)
ReadRAXIS( (str)arg1, (int)arg2, (int)arg3, (int)arg4, (bool)arg5) -> int :
 
    C++ signature :
        scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > > ReadRAXIS(std::string,int,long,long,bool)
WriteADSC(...)
WriteADSC( (str)arg1, (int)arg2, (int)arg3, (int)arg4, (int)arg5) -> None :
 
    C++ signature :
        void WriteADSC(std::string,scitbx::af::versa<int, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > >,long,long,int)
identify_dataset(path_name)
low_pass_filter(...)
low_pass_filter( (complex_double)arg1) -> None :
 
    C++ signature :
        void low_pass_filter(scitbx::af::versa<std::complex<double>, scitbx::af::flex_grid<scitbx::af::small<long, 10ul> > >)
rotate_vector_around(...)
rotate_vector_around( (object)vector, (object)unit_direction, (float)angle) -> tuple :
 
    C++ signature :
        scitbx::vec3<double> rotate_vector_around(scitbx::vec3<double>,scitbx::vec3<double>,double)
unpad_raxis(...)
unpad_raxis( (str)arg1, (int)arg2, (int)arg3) -> str :
 
    C++ signature :
        std::string unpad_raxis(std::string,int,int)

 
Data
        all_image_types = [<class 'iotbx.detectors.EDFWrapper'>, <class 'iotbx.detectors.saturn.SaturnImage'>, <class 'iotbx.detectors.macscience.DIPImage'>, <class 'iotbx.detectors.noir.NoirImage'>, <class 'iotbx.detectors.adsc.ADSCImage'>, <class 'iotbx.detectors.hamamatsu.HamamatsuImage'>, <class 'iotbx.detectors.mar.MARImage'>, <class 'iotbx.detectors.marIP.MARIPImage'>, <class 'iotbx.detectors.dtrek.DTREKImage'>, <class 'iotbx.detectors.raxis.RAXISImage'>, <class 'iotbx.detectors.raxis_nonsquare.NonSquareRAXISImage'>, <class 'iotbx.detectors.SMVImage'>, <class 'iotbx.detectors.pilatus_minicbf.PilatusImage'>, <class 'iotbx.detectors.cbf.CBFImage'>, <class 'iotbx.detectors.bruker.BrukerImage'>]
all_url_types = [<function pilatus_slice_from_file_url>, <function pilatus_slice_from_http_url>, <function ADSC_module_from_file_url>]
division = _Feature((2, 2, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 8192)