Skip to content

a generic class for CrtystFEL geometry #64

@kirienko

Description

@kirienko

At the moment, extra-geom can read CrystFEL geom files and produce valid geometries for several types of detectors. However, there are cases when one may need more generic representation than a predefined detector (e.g. for simulation purposes, or for the detector that is not yes supported by extra-geom). That's why it might be useful to have a generic class geometry loaded from an arbitrary CrystFEL file.

What is needed:

  • Detecting how many tiles per module
  • Finding data shapes (frag_ss_pixels, frag_fs_pixels, expected_data_shape)
  • Defining 3 methods which are not implemented in the base class (split_tiles, _tile_slice, _module_coords_to_tile)
  • Possibly, retrieving additional information like:
    • an arbitrary pixel size (res[olution] in CrystFEL terms)
    • an arbitrary data storage source (other than /entry_1/instrument_1/detector_1/data)
    • detector distance (clen in CrystFEL terms)
    • photon_energy
  • reading from an arbitrary CrystFEL .geom file with from_crystfel_geom must return meaningful information. In case of known detectors (i.e. already supported by extra-geom) it should produce an equal geometry object.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions