AdvancedPhotonSource / tike

Repository for ptychography software
http://tike.readthedocs.io
Other
29 stars 15 forks source link

NEW: Implement functions for loading Velociprobe raw data #134

Closed carterbox closed 3 years ago

carterbox commented 3 years ago

Purpose

Implement a function to load data from the APS Velociprobe format.

Approach

Uses HDF5 and NumPy to load the diffraction patterns and other parameters from an HDF5 file and some preprocessed scanning positions from a CSV file.

From my tests of fly-scan data from 2019-2, it seems that often the number of scanning positions does not match the number of frame collected. Thus, I truncate the data to the shorter of the two lengths.

I tested multiple datasets from different runs: RAVEN_IC RAVEN_pillar, and XBIC and was able to see reconstructions.

Pre-Merge Checklists

Submitter

Reviewer

pep8speaks commented 3 years ago

Hello @carterbox! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2021-03-18 22:08:14 UTC