######################################################## # Started Logging At: 2025-04-08 11:15:28 ######################################################## ######################################################## # # Started Logging At: 2025-04-08 11:15:28 ######################################################## # Fill in the SIMBAD-resolvable name of your target source: SOURCE = "Westerlund 2" # Leave this unchanged unless you're sure that you want something else: REFCAT = "apass" # fu orionis # Get the main module: import daschlab # Set up Bokeh plots: from bokeh.io import output_notebook output_notebook() # Get some other imports that will be useful: from astropy import units as u from bokeh.plotting import figure, show import numpy as np from daschlab.photometry import AFlags, BFlags sess = daschlab.open_session(source=SOURCE) sess.select_target(name=SOURCE) sess.select_refcat(REFCAT) #[Out]# await sess.connect_to_wwt() sess.refcat()[:12] #[Out]# #[Out]# ref_text ref_number gsc_bin_index ... refcat local_id #[Out]# ... #[Out]# str22 uint64 uint32 ... str5 int64 #[Out]# ---------------------- --------------- ------------- ... ------ -------- #[Out]# S111111026652 12111111026652 13025859 ... apass 0 #[Out]# APASS_J102358.5-574545 410235852574545 13025859 ... apass 1 #[Out]# S111111026619 12111111026619 13025860 ... apass 2 #[Out]# S111111026825 12111111026825 13025859 ... apass 3 #[Out]# S111111026835 12111111026835 13025859 ... apass 4 #[Out]# S111111026827 12111111026827 13025860 ... apass 5 #[Out]# S111111037981 12111111037981 13013571 ... apass 6 #[Out]# S111111026828 12111111026828 13025860 ... apass 7 #[Out]# APASS_J102356.7-574528 410235672574528 13025859 ... apass 8 #[Out]# S111111026743 12111111026743 13025859 ... apass 9 #[Out]# S111111037976 12111111037976 13013571 ... apass 10 #[Out]# APASS_J102356.2-574530 410235622574530 13025859 ... apass 11 sess.refcat().show() TARGET_ID = 0 lc = sess.lightcurve(TARGET_ID) lc.plot() #[Out]# figure(id='p1001', ...) TARGET_ID = 1 lc = sess.lightcurve(TARGET_ID) lc.plot() #[Out]# figure(id='p1189', ...)