Skip to content

ENH: Configure writing to Tiled#30

Open
genematx wants to merge 1 commit intodata-securityfrom
add-tiled-writer
Open

ENH: Configure writing to Tiled#30
genematx wants to merge 1 commit intodata-securityfrom
add-tiled-writer

Conversation

@genematx
Copy link

No description provided.

MIMETYPE_LOOKUP = {
"AD_TIFF": "multipart/related;type=image/tiff",

"hdf5": "application/x-hdf5",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please remove any unused specs.



def patch_descriptor(doc):
if 'pilatus800_image' in doc['data_keys']:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this data key (pilatus800_image) is not used anymore, or fixed in Ophyd -- this part can be removed.

desc['shape'] = shape[::-1]

# Ensure dtype_str has the proper numpy format (to pass the EventModel validator)
for key, val in doc["data_keys"].items():
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"dtype_str" should be a proper numpy identifier, e.g. <f8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant