Reference#
Software and API.
smart Package#
smart.processing Module#
Functions#
|
Set off disk pixels to black and clip the vmin and vmax of the map. |
|
Find the cosine correction values for on-disk pixels. |
|
Perform magnetic field cosine correction. |
|
We apply Smoothing, a noise Threshold, and an LOS correction, respectively, to the data. |
|
Prepare map for use in segmentation and characterization processes. |
smart.differential_rotation Module#
Functions#
|
Differentially rotate input map to reference map. |
smart.indexed_grown_mask Module#
Functions#
|
Performing Indexing and Growing of the Mask (hence the name IGM). |
|
Plotting the fully processed and segmented magnetogram with labels and AR contours optionally displayed. |
smart.calculate_properties Module#
Functions#
|
Calculate the cosine-weighted area map for a feature and determine the feature's total area. |
|
Extract binary masks for each feature found in index_and_grow_mask's sorted_labels. |
|
A magnetogram differentially rotated to time 't' is subtracted from a processed magnetogram from time 't', and the resultant map is divided by their time separation, yielding a map of the temporal change in field strength. |
|
Calculate various properties for each detected feature. |
smart.polarity_separation_line Module#
Functions#
|
Divide detected feature into a positive and a negative mask, and dilate both masks. |
Calculate the length of the polarity separation line (the boundary line between the positive and negative regions of an AR). |
|
|
Calculate the length of the strong gradients in the magnetic field. |