fibresem/analysis/fibreanalysis.py
def parse_matlab_result(self, matlab_result):
        """Parse and add the resulting struct returned by MATLAB"""

        # Parse pixel average
        self.pixel_average = matlab_result["avgp"]

        # Parse pixel standard deviation
        self.pixel_sdev = matlab_result["sdevp"]

        # Parse list of all pixel diameters
        self.pixel_diameters = matlab_result["diameters"]._data.tolist()
Parse and add the resulting struct returned by MATLAB
Parse and add the resulting struct returned by MATLAB
Parse and add the resulting struct returned by MATLAB
def parse_matlab_result(self, matlab_result):
        self.pixel_average = matlab_result["avgp"]
        self.pixel_sdev = matlab_result["sdevp"]
        self.pixel_diameters = matlab_result["diameters"]._data.tolist()
def parse_matlab_result ( self , matlab_result ) : self . pixel_average = matlab_result [ "avgp" ] self . pixel_sdev = matlab_result [ "sdevp" ] self . pixel_diameters = matlab_result [ "diameters" ] . _data . tolist ( )
Parse and add the resulting struct returned by MATLAB
Parse and add the resulting struct returned by MATLAB
"""Parse and add the resulting struct returned by MATLAB""" # Parse pixel average # Parse pixel standard deviation # Parse list of all pixel diameters
self
matlab_result