lofarSun.IM
Submodules
Package Contents
Classes
Functions
|
|
|
Get the peak beam from a fits file |
- class lofarSun.IM.IMdata
- load_fits(fname)
- get_cur_solar_centroid(t_obs)
- get_obs_image_centroid(header)
- get_axis_obs(header)
- RA_DEC_shift_xy0(RA, DEC, RA_cent, DEC_cent)
- sun_coord_trasform(data, header, act_r=True, act_s=True)
- get_beam()
- make_map(fov=2500)
- plot_image(log_scale=False, fov=2500, FWHM=False, gaussian_sigma=0, ax_plt=None, **kwargs)
- peak_xy_coord_pix()
- peak_xy_coord_arcsec()
- fit_gaussian2d(thresh=0.5, cbox=[[0, 0], [0, 0]], **kwargs)
Fit a 2D Gaussian function to the image data, feature update: can specify a box to fit the gaussian function
- Parameters:
thresh (float, optional) – threshold to limit the fit region. Defaults to 0.5.
cbox (list, optional) – the range to specify the bounding box, [[x0,x1],[y0,y1]], default is no bounding. Defaults to [[0,0],[0,0]].
- Returns:
fitting results
- Return type:
list
- lofarSun.IM.func_gaussian(xdata, s0, x_cent, y_cent, tile, x_sig, y_sig)
- lofarSun.IM.get_tile_ellipse_from_fit(popt)
- lofarSun.IM.get_peak_beam_from_psf(fname, thresh=0.618, cbox=[[0, 0], [0, 0]])
Get the peak beam from a fits file