This is a simple version of our fiber orientation analysis software, adapted from https://github.com/alilou63/fingerprint and published in https://doi.org/10.1038/s41567-020-01083-1. The main script “runAnalysisSimple.m” calls two main functions, “FrameAnalysisSimple.m” which performs the analysis per movie frame, and “plotFrameAnalysis.m” which plots the results (but is not required for the calculations). Other subfunctions are included.
The raw data on which analysis is performed is assumed to be a set of 2D 16-bit images saved in a single folder, with each image having a matching 8-bit mask that defines the region for analysis. Masks are saved under the same name as their matching raw image in a separate folder for all masks.
Additional documentation can be found as comments in the script and in https://doi.org/10.1038/s41567-020-01083-1.