Background Atomic force microscopy (AFM) is one of the main techniques used to characterize the mechanical properties of soft biological samples and biomaterials at the nanoscale. Despite efforts made by the AFM community to promote open-source data analysis tools, standardization continues to be a significant concern in a field that requires common analysis procedures. AFM-based mechanical measurements involve applying a controlled force to the sample and measure the resulting deformation in the so-called force-distance curves. These may include simple approach and retract or oscillatory cycles at various frequencies (microrheology). To extract quantitative parameters, such as the elastic modulus, from these measurements, AFM measurements are processed using data analysis software. Although open tools exist and allow obtaining the mechanical properties of the sample, most of them only include standard elastic models and do not allow the processing of microrheology data. In this work, we have developed an open-source software package (called PyFMLab, as of python force microscopy laboratory) capable of determining the viscoelastic properties of samples from both conventional force-distance curves and microrheology measurements. Methods PyFMLab has been written in Python, which provides an accessible syntax and sufficient computational efficiency. The software features were divided into separate, self-contained libraries to enhance code organization and modularity and to improve readability, maintainability, testability, and reusability. To validate PyFMLab, two AFM datasets, one composed of simple force curves and another including oscillatory measurements, were collected on HeLa cells. Results The viscoelastic parameters obtained on the two datasets analysed using PyFMLab were validated against data processing proprietary software and against validated MATLAB routines developed before obtaining equivalent results. Conclusions Its open-source nature and versatility makes PyFMLab an open-source solution that paves the way for standardized viscoelastic characterization of biological samples from both force-distance curves and microrheology measurements.
Read full abstract