pyart.correct.gauss_fit#

pyart.correct.gauss_fit(az_data, az_ref, el_data, el_ref, sunhits, npar, degree=True, do_elcorr=True)[source]#

estimates a gaussian fit of sun hits data

Parameters:
  • az_data, el_data (float array) – azimuth and elevation radar data

  • az_ref, el_ref (float array) – azimuth and elevation sun data

  • sunhits (float array) – sun hits data

  • npar (int) – number of parameters of the fit

  • degree (boolean) – boolean indicating whether the data is in degree or radians

  • do_elcorr (boolean) – indicates whether azimuth data is corrected so that azimuth differences are invalid with elevation

Returns:

  • par (1D float array) – the fit parameters

  • alpha (2D float array) – the matrix used in the fit

  • beta (1D float array) – the vector used in the fit