ZH: repair cases: move sc_kwargs

This commit is contained in:
Eric Teunis de Boone 2023-05-31 18:43:47 +02:00
parent 1fee731ec3
commit 14ab836a6d

View file

@ -178,6 +178,11 @@ if __name__ == "__main__":
'repair_full': "phase + period clock offsets"
}
power_on_grid_sc_kwargs = dict(
s=250,
cmap='inferno'
)
# For now only implement using one freq_name
freq_names = ev.antennas[0].beacon_info.keys()
if len(freq_names) > 1:
@ -319,14 +324,10 @@ if __name__ == "__main__":
wx, wy = scale, scale
print(f"Starting grid measurement for figure {case} with {scalename}")
xx, yy, p, maxp_loc = rit.shower_plane_slice(ev, X=X, Nx=Nx, Ny=Nx, wx=wx, wy=wy, zgr=zgr)
fig, axs = rit.slice_figure(ev, X, xx, yy, p, mode='sp', scatter_kwargs=dict(
fig, axs = rit.slice_figure(ev, X, xx, yy, p, mode='sp', scatter_kwargs={**dict(
vmax=no_offset_maximum_power,
vmin=0,
s=250,
cmap='inferno',
# edgecolor='black',
))
), **power_on_grid_sc_kwargs} )
suptitle = fig._suptitle.get_text()
fig.suptitle("")