sdapy.snerun.snelist.run

snelist.run(ax=None, ax1=None, ax2=None, ax3=None, ax4=None, debug=False, **kwargs)

get a list of SNe, for each SN, define a dedicated snobject, and run snobject.run() for all of them.

Parameters
ax/ax1/ax2/ax3/ax4str

matplotlib.axes, used for histogram/scatter or other population plots

verbosebool

show detailed running informations

clobberbool

if cached file (from save_data) exists, redo snobject.run() or just read the cach

See also

snobject.run

Examples

>>> from sdapy import snerun
>>> a = snerun.snelist()   
>>> a.run(syntax='type in ["Ib","Ic"]')
meta 154 objs
3%|██▋                                                                              | 5/154 [00:00<00:18,  7.93it/s]
>>> a.data
{'ZTF20aajcdad': <sdapy.snerun.snobject object at 0x7fb9eb5d9f28>, 'ZTF21abmlldj': <sdapy.snerun.snobject object at 0x7fb9ec009780>, 'ZTF19abqxibq': <sdapy.snerun.snobject object at 0x7fb9ed674cc0>, ... ...}