Skip to content

Comments

Auto MIB and ptychographic submitter#75

Open
deBoer1969 wants to merge 1 commit intoePSIC-DLS:masterfrom
deBoer1969:master
Open

Auto MIB and ptychographic submitter#75
deBoer1969 wants to merge 1 commit intoePSIC-DLS:masterfrom
deBoer1969:master

Conversation

@deBoer1969
Copy link

Here is some code that that can be used with automatic data collection or a stand alone session. The code once run will ask for the session information and watch the folder location auto submitting MIB conversion and then run a further ptycho reconstruction on the converted mib data.

(i forgot to add a timer to kill the script...it will run forever if not stopped)

Example data to test on /dls/e02/data/2025/cm40603-5/Merlin/C1_Au_GCN_FT

…n live during an imaging session and will continuously submit data for mib and or ptycho procesing
@fallars fallars self-requested a review February 6, 2026 16:34
Copy link
Contributor

@fallars fallars left a comment

Choose a reason for hiding this comment

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

Hi Josh,

before I can accept this change could you refactor the code:
change the format from a notebook into a python script and then have a separate notebook import the python script. This will make easier to read the code.
where you have used functions from elsewhere perform imports instead. this should greatly reduce the length of the code.
remove ASCII art from the script

This might require further changes but I cannot tell until the above has occurred.

fred

@deBoer1969
Copy link
Author

deBoer1969 commented Feb 20, 2026 via email

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.

2 participants