First attempt at Pull request from Alex B#1
Open
AlexFEBo wants to merge 42 commits into
Open
Conversation
Alex B modif of MINFLUX.py (LocRate + LocError) Alex C modif of NPCcalcLM
moved the line: meas = np.array(npcs.measurements, dtype='i') To its correct position
CS implemented AB changes in the def read_temp_csv function. Merges mainly removed comments of AB from ChatGPT tests, also cahnged the way timeformats is handled (no need to modify the config file anymore with CS code).
1- Define timestamp in OnLocalisationRate (experimental/MINFLUX.py) 2- Add timestamp parameter in analyse_locrat_pdframe (Analysis/MINFLUX.py 3- add timestamp argument in the function definition plot_stats_minflux (Analysis/MINFLUX.py)
Add **if statements** in plot_errors (experimental/MINFLUX.py) and plot_stats_minflux (Analysis/MINFLUX.py), to: 1- create temporary files 2- Check is LocError / LocRate temp exists 3- If exists, merges them to always keep the same final csv structure
- Set bins size to 1000 Hz (1 kHz) - Include data timestamp in fig title
Easier to work with individual files than cross checking which one exist and create a single one. Notebook for analysis updated to read from two individual csv
Upon menu click, performs: - Save NPC set (pickle) - Save Measurement (CSV) - Show NPC Geom - Show NPC template fit - Plot Segments - Save NPC segment data
Add the save_dir as an argument
Now saves 2 csv of Stats from all Iteration: 1. Identical to Paraflux data 2. For all Itr
Add a graph output for itr 1, 3, 5, 7, 9
Took CS changes, try to keep arguments required for automatic saving of plots
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Paraflux -> Run Paraflux Analysis