Repository navigation
Releases
Collagen Analyzer v1.4
Collagen Reflectance Analyzer 1.4
Downloads
Pick the zip for your computer. It is attached below a few minutes after this release appears.
- CollagenAnalyzer-mac-apple-silicon.zip: Macs with M1, M2, M3 or M4 chips
- CollagenAnalyzer-mac-intel.zip: older Intel Macs
- CollagenAnalyzer-windows.zip: Windows 10 and 11
The user manual (PDF) is inside the zip. Your settings from earlier versions are kept.
Mac: unzip, drag Collagen Analyzer.app to Applications, then run this once in Terminal (the app is not signed by Apple; right-click → Open does not get around this) and open the app normally:
xattr -dr com.apple.quarantine "/Applications/Collagen Analyzer.app"
Windows: first unzip: right-click the zip → Extract All… (starting the app from inside the zip gives “Failed to load Python DLL”). Open the extracted folder and double-click CollagenAnalyzer.exe. If “Windows protected your PC” appears: More info → Run anyway (only the first time). Keep the whole folder together; for a desktop link use right-click → Send to → Desktop (create shortcut).
New in 1.4
The iPad Fiber Annotator opens .nd2 files directly
- In the iPad app (https://sviatoslavpisarev.github.io/CollagenAnalyzer/) tap Open and choose .nd2 files — from iCloud Drive, OneDrive, a USB drive or AirDrop; several at once. Every plane of a stack becomes one image; no export from the computer is needed.
- Only the planes you look at are read, so large stacks are fine. Strokes are kept when the app is closed; open the same files again to see the images.
- Import iPad strokes… on the computer finds the files by name (in the Files step, or in a folder it asks you for) and checks every painted plane against the file, so a stroke never lands on the wrong plane.
- Old JPEG 2000 .nd2 files and lossy-compressed ones cannot be opened on the iPad; use Export images for iPad… for those.
Fiber segment length in Patterns
- Patterns → 2. What describes a tile now offers fiber segment length (mean): the mean length of the fiber segments (centerline pieces between free ends and branch points) in each tile, so tiles can also be grouped by short vs. long fibers.
- Each segment is counted in the one tile that holds its first pixel and is measured whole, with the same edge correction as the image mean. Tiles without a segment are left out when this metric is ticked.
mmddyy_tiles.csvhas a new column,fiber_len_mean_um. Tile tables from earlier versions do not have it; re-run the analysis to add it.
Note
The code was built using Claude, Anthropic's AI assistant. As with any analysis software, check the results on your own data.
Collagen Analyzer v1.3
Collagen Reflectance Analyzer 1.3
Downloads
Pick the zip for your computer. It is attached below a few minutes after this release appears.
- CollagenAnalyzer-mac-apple-silicon.zip: Macs with M1, M2, M3 or M4 chips
- CollagenAnalyzer-mac-intel.zip: older Intel Macs
- CollagenAnalyzer-windows.zip: Windows 10 and 11
The user manual (PDF) is inside the zip. Your settings from earlier versions are kept.
Mac: unzip, drag Collagen Analyzer.app to Applications, then run this once in Terminal (the app is not signed by Apple; right-click → Open does not get around this) and open the app normally:
xattr -dr com.apple.quarantine "/Applications/Collagen Analyzer.app"
Windows: first unzip: right-click the zip → Extract All… (starting the app from inside the zip gives “Failed to load Python DLL”). Open the extracted folder and double-click CollagenAnalyzer.exe. If “Windows protected your PC” appears: More info → Run anyway (only the first time). Keep the whole folder together; for a desktop link use right-click → Send to → Desktop (create shortcut).
New in 1.3
Paint fiber strokes on an iPad
- The Fiber Annotator is a small app for the iPad: open https://sviatoslavpisarev.github.io/CollagenAnalyzer/ in Safari and tap Share → Add to Home Screen. It then opens like an app and works offline.
- Fiber model page → Export images for iPad… writes a pack of images (with the strokes so far and, optionally, the current model's mask to correct). Send it to the iPad (AirDrop, iCloud Drive) and open it in the app.
- The Apple Pencil draws, fingers move and pinch-zoom (the hand can rest on the screen), a two-finger tap undoes. Fiber / Background / Eraser, brush size, brightness, contrast, “faint fibers”, model mask. Strokes are kept on the iPad as you go.
- Send strokes (AirDrop back or save to iCloud Drive), then Import iPad strokes… on the computer and train. Get the iPad app shows a QR code to scan.
- Only the flattened 8-bit images go to the iPad, never the original files; nothing is uploaded anywhere.
Note
The code was built using Claude, Anthropic's AI assistant. As with any analysis software, check the results on your own data.
Collagen Analyzer v1.2
Collagen Reflectance Analyzer 1.2
Downloads
Pick the zip for your computer. It is attached below a few minutes after this release appears.
- CollagenAnalyzer-mac-apple-silicon.zip: Macs with M1, M2, M3 or M4 chips
- CollagenAnalyzer-mac-intel.zip: older Intel Macs
- CollagenAnalyzer-windows.zip: Windows 10 and 11
Unzip the file and open the app. The user manual (PDF) is inside the zip. Your settings from 1.1 are kept.
Mac: the app is not signed by Apple, so macOS blocks it the first time (right-click → Open does not get around this). Drag Collagen Analyzer.app to Applications, then run this once in Terminal and open the app normally:
xattr -dr com.apple.quarantine "/Applications/Collagen Analyzer.app"
New in 1.2
Graphs you can take with you
- Every graph in Results & plots, Patterns and the Experiment planner has Copy, Save… (PNG, PDF, SVG or TIFF, 300 dpi, white background) and Full screen (or double-click the graph; Esc goes back). Zoom and pan stay available.
- Planner: the response map can show the prediction only or the uncertainty only; Save all graphs… writes the map, effects and model check in one go; log axes are easier to read.
Strongest correlations (Patterns)
- A new Correlations tab ranks the strongest relations and lists the top three in plain words:
- AMF settings vs each gel's change after AMF (including tile-type shares): which setting goes with more remodeling;
- metric vs metric, per file or tile by tile inside images;
- metric vs depth z within each z-stack.
- Each row gives Spearman's ρ, n (gels, files, images or z-stacks, never single tiles) and q (corrected for testing many pairs). Pairs linked by how they are measured are hidden by default. Click a row to plot it.
Easier to use
- Recent analyses on the Files step and under Results & plots → Recent: one click reopens earlier results on every results page.
- Drag and drop a results folder onto Results & plots, Patterns or the Experiment planner.
- Sound and notification when a run finishes, so you can work in other programs meanwhile.
- When something goes wrong, the app says what happened and what to do (no pixel size, not enough memory, files only in iCloud, no permission, damaged files, …).
- Keyboard shortcuts: ⌘/Ctrl + 1…6 pages, R run, S save graph, F full screen, ⌘/ lists them all.
- Every page remembers its choices between sessions.
- The app tells you when a new version is out (at most once a day; can be turned off on the Help page).
Note
The code was built using Claude, Anthropic's AI assistant. As with any analysis software, check the results on your own data.
Collagen Analyzer v1.1
Collagen Reflectance Analyzer 1.1
Downloads
Pick the zip for your computer. It is attached below a few minutes after this release appears.
- CollagenAnalyzer-mac-apple-silicon.zip: Macs with M1, M2, M3 or M4 chips
- CollagenAnalyzer-mac-intel.zip: older Intel Macs
- CollagenAnalyzer-windows.zip: Windows 10 and 11
Unzip the file and open the app. The user manual (PDF) is inside the zip.
Mac: the app is not signed by Apple, so macOS blocks it the first time (right-click → Open does not get around this). Drag Collagen Analyzer.app to Applications, then run this once in Terminal and open the app normally:
xattr -dr com.apple.quarantine "/Applications/Collagen Analyzer.app"
New in 1.1
Controls and statistics
- Sham controls: put
shamin a file name to mark a sham gel (same handling, no field), andnoNCto mark a gel without nanocages. Every gel is sorted into a group: NC + AMF, AMF only, sham, or sham without NCs. - Control-corrected change: each AMF change, minus the change of the sham gels from the same day.
- Statistics with the gel as the replicate:
- For each group: mean, 95 % CI, and paired tests of the change.
- Between groups: Welch and Mann–Whitney tests, Hedges' g and Holm-adjusted p-values. NC + AMF vs sham is the field-effect test.
- These go into three new sheets:
changes,statisticsandarm comparisons.
- Registration and change maps: the app lines up each After image with its Before image and maps where the alignment, fiber density and pore size changed (
change_map_….png,…_tile_changes.csv). - Experiment Planner: subtracts the sham change by default. It also has a nanocage-physics box (Brownian and Néel relaxation, phase lag, torque).
New look
- A cleaner design. New analysis walks you through Files → Settings → Outputs → Run → Results.
- The Files step has a Ready to run panel. It warns about a gel without a Before file, a day without sham gels, or files the quality check flagged.
- Night mode is at the bottom of the sidebar. Saved figures stay white.
Graphs
- A Style panel sets fonts and sizes, legend and label positions, bar width and opacity, individual data points, error bars (now also 95 % CI), trend lines (linear, log-x, mean, with R² and a 95 % band), axes and colours. It includes a colour-blind-safe palette.
- Ready-made styles (journal figure, slides, greyscale), and you can save your own.
- Drag any label with the mouse. Journal and slide figure sizes are shown on screen at their real size.
Other
- Automatic tests, including synthetic fiber networks with known alignment.
- MIT license, a citation file ("Cite this repository"), and third-party notices.
- Fixes: Qt background errors on two pages; newly loaded results were unticked; y labels overlapped when there were several rows of panels.
Note
The code was built using Claude, Anthropic's AI assistant. As with any analysis software, check the results on your own data.