log_log_linear_fit#

synthesizAR.analysis.log_log_linear_fit(x, y, x_a, x_b, apply_log_transform=True)[source]#

Perform a power-law fit by calculating a linear fit to a log-transformed quantity over a specified range.

Parameters:
  • x

  • y

  • apply_log_transform

Returns:

  • coefficients

  • x_fit

  • y_fit

  • r_squared