pyIntensityFeatures.proc.intensity

Functions for intensity processing.

Functions

find_intensity_boundaries(intensity, glat, glon, ...)

Find the PALBs and EALBs for a slice of intensity data.

Module Contents

pyIntensityFeatures.proc.intensity.find_intensity_boundaries(intensity, glat, glon, sweep_times, alt, min_mlat_base, max_coeff, method='ALLOWTRACE', mlat_inc=1.0, mlt_inc=0.5, un_threshold=1.25, dayglow_threshold=300.0, strict_fit=False)[source]

Find the PALBs and EALBs for a slice of intensity data.

Parameters:
intensityarray-like

Array with dimensions of time x sweep-locations containing the rectified intensity at the auroral daytime pierce point

glatarray-like

Array with dimensions of time x sweep-locations containing the geodetic latitude

glonarray-like

Array with dimensions of time x sweep-locations containing the geographic longitude

sweep_timesarray-like

Array with the starting and ending times of the auroral sweep. Gives the start and end times searched if no sweep is found.

altfloat or array-like

Altitude for the intensity data

min_mlat_basefloat

Base minimum co-latitude for intensity profiles.

max_coeffint

Maximum number of coefficients.

methodstr

Method for converting between geographic and magnetic coordinates. (default=’ALLOWTRACE’)

mlat_incfloat

Magnetic latitude increment for gridding intensity. (default=1.0)

mlt_incfloat

Magnetic local time increment for gridding intensity. (default=0.5)

un_thresholdfloat

Maximum acceptable uncertainty value in degrees (default=1.25)

dayglow_thresholdfloat

Maximum allowable background intensity value in Rayleighs (default=300)

strict_fitbool

Enforce positive values for the x-offsets in quadratic-Gaussian fits (default=False)

Returns:
sweep_enddt.datetime

End time of the data

out_datadict or NoneType

Dict with desired boundary data, if data was found. None otherwise.

max_coeffint

Maximum number of coefficients.

See also

utils.coords.convert_geo_to_mag