HRD Customisation#

Combining Multiple HRDs#

By default, plotting a DataSet that contains multiple HRD objects generates multiple figures. To instead combine all sources into a single figure, pass split=False to plot() or open():

from ATK import query

hrd_query = query("hrd", targets=[587316166180416640, 6050296829033196032], path="example_hrd_2.fits.gz")
hrd_query.open(split=False)
Bokeh Figure


Note

The above is an example of a multi-target query. For more information, see the next section.


Reducing the Background#

Due to the number of background data points, plotted HRD objects can be expensive in terms of browser performance. This can be avoided by passing background as a float between 0 and 1 (default = 1):

hrd_query = query("hrd", targets=587316166180416640, path="example_hrd.fits.gz")
hrd_query.open(background=0.25)
Bokeh Figure





Download this Tutorial

Total running time of the script: (0 minutes 3.788 seconds)

Gallery generated by Sphinx-Gallery