  Microscopy and particle-based simulations are both powerful techniques to
study aggregated particulate matter such as colloidal gels. The data provided
by these techniques often contains information on a wide array of length
scales, but structural analysis methods typically focus on the local particle
arrangement, even though the data also contains information about the particle
network on the mesoscopic length scale. In this paper, we present a MATLAB
software package for quantifying mesoscopic network structures in colloidal
samples. ArGSLab (Arrested and Gelated Structures Laboratory) extracts a
network backbone from the input data, which is in turn transformed into a set
of nodes and links for graph theory-based analysis. The routines can process
both image stacks from microscopy as well as explicit coordinate data, and thus
allows quantitative comparison between simulations and experiments. ArGSLab
furthermore enables the accurate analysis of microscopy data where, e.g., an
extended point spread function prohibits the resolution of individual
particles. We demonstrate the resulting output for example datasets from both
microscopy and simulation of colloidal gels, in order to showcase the
capability of ArGSLab to quantitatively analyze data from various sources. The
freely available software package can be used either with a provided graphical
user interface or directly as a MATLAB script.
