Skip to content

Created the ability to save and load sequences.#11

Open
Myles244 wants to merge 1 commit intocsi-dcsc:masterfrom
Myles244:savable
Open

Created the ability to save and load sequences.#11
Myles244 wants to merge 1 commit intocsi-dcsc:masterfrom
Myles244:savable

Conversation

@Myles244
Copy link

@Myles244 Myles244 commented Nov 27, 2025

For sequences with large numbers of images, encoding all the sequences can be time-consuming. Defsequence will currently recompute the encoding every time it is called. Instead, I have added the ability to save and load encoded sequences in a numpy npz file.

Created two new functions:
pycrafter6500.savesequence(images,exp,ti,dt,to,rep,name)
pycrafter6500.dmd.laodsequence(self,name,exp=None,ti=None,dt=None,to=None,rep=None)

Restructured pycrafter6500.dmd.defsequence() in terms of subfunctions to avoid duplicating code.

Updated the readme.txt

Created two new functions:
pycrafter6500.savesequence(images,exp,ti,dt,to,rep,name)
pycrafter6500.dmd.laodsequence(self,name,exp=None,ti=None,dt=None,to=None,rep=None)

Restructured pycrafter6500.defsequence() in terms of subfunctions to avoid duplicating code.

Updated the readme.txt
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