needlets.plot_blprofile

plot_blprofile(bl, newfigure=False, unit='min', label=None, **kwargs)[source]

Plot the profile of the needlet in pixel space.

Plot the value of the needlet as a function of the angular distance between a given point and the center of the needlet

Parameters
  • bl (np.ndarray) – A numpy array containing the values of a needlet filter b(l), starting with l=0.

  • newfigure (bool, optional) – If True, the image will be created in a new Figure.

  • unit (str, optional) – The unit is one of the following: 'min' for arcminutes (default), 'sec' for arcseconds, 'deg' for degrees or 'rad' for radians

  • label (str, optional) – Label to show in the legend of the figure.

  • **kwargs (optional) – Any additional argument will be passed to matplotlib.plot

Returns

Figure containing the plot.

Return type

matplotlib.figure.Figure