Name:
frdim_boxcount.pro
Purpose:
Calculation of the box-counting (Haussdorff) fractal dimension on a 2D image.
Calling sequence:
frdim_boxcount,c_im,frd,err_frd,pix_size=pix_size,bmin=bmin,ar_min=ar_min,lmin=lmin,flxmin=flxmin,boundary=boundary,interior=interior,contour=contour,help=help
Input parameters:
c_img = Br or Blos HARP cutout magnetogram or Btot, corrected for limb presence. Blos cutout should be deprojected.
Keywords:
pix_size: the size of the pixel, default 0.5
Bmin: minimum magnetic strength considered; default is 200 G
ar_min: minimum area of magnetic "island" considered; default is 10 pixels
lmin: minimum perimeter length of magnetic "island" considered; default is 20 pixels
flxmin: minimum magnetic flux contained in a magnetic "island"; default is 1019 Mx
boundary: set this keyword to calculate the fractal dimension of the boundary
interior: set this keyword to calculate the fractal dimension of the entire structure
contour: set this keyword to use the idl contour procedure to produce the boundary around the mask; default is to shift the image and locate the boundaries.
Output:
frd: the fractal dimension of the structure
frd_err: the error of the fractal dimension of the structure
Property name in DB:
frdim_Blos.frdim, frdim_Blos.frdim_err, frdim_Blos.frdim, frdim_Blos.frdim_err, frdim_Btot.frdim, frdim_Btot.frdim_err
Repository:
https://dev.flarecast.eu/stash/projects/FE/repos/frdim-idl/browse/
References:
Georgoulis 2005, Solar Physics, 228, 5
McAteer, Gallagher & Ireland, 2005, The Astrophysical Journal, 631, 628