analysis

Methods to quantitatively analyze CT scan data.

core_ct.analysis.brightness_trace(slice: Slice) DataFrame[source]

Compute the mean brightness across each row of a slice and its standard deviation.

Parameters:

slice (np.ndarray) – A slice of the core as a 3D numpy array

Returns:

A 2D numpy array where the first column is the mean of the brightness and the second is the standard deviation.

Return type:

pd.DataFrame