Skip to content

First attempt at Pull request from Alex B#1

Open
AlexFEBo wants to merge 42 commits into
csoeller:masterfrom
AlexFEBo:Alex_B_dev
Open

First attempt at Pull request from Alex B#1
AlexFEBo wants to merge 42 commits into
csoeller:masterfrom
AlexFEBo:Alex_B_dev

Conversation

@AlexFEBo

Copy link
Copy Markdown
  • Add menu entry in MINFLUX:
    Paraflux -> Run Paraflux Analysis
    • Generates Iteration failure plot (similar to Paraflux), and saves 2 *.csv files: one with values from the plot generated, a second one with values for all failure reasons.
  • Other modifications include:
    • Add new menu entry in Experimental -> NPC3D -> Analyse 3D NPCs by ID and save all outputs
    • Better display of metadata from zarr files.
    • Save csv for LocRate and LocError function
    • Change the bin size of EFO histogram

AlexFEBo added 30 commits April 22, 2025 16:54
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
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