Merge branch 'develop' into documentation

This commit is contained in:
fjosw 2023-01-03 10:00:59 +00:00
commit 849c12a78e

View file

@ -929,7 +929,7 @@ def qtop_projection(qtop, target=0):
proj_qtop = [] proj_qtop = []
for n in qtop.deltas: for n in qtop.deltas:
proj_qtop.append(np.array([1 if round(qtop.value + q) == target else 0 for q in qtop.deltas[n]])) proj_qtop.append(np.array([1 if round(qtop.r_values[n] + q) == target else 0 for q in qtop.deltas[n]]))
reto = Obs(proj_qtop, qtop.names, idl=[qtop.idl[name] for name in qtop.names]) reto = Obs(proj_qtop, qtop.names, idl=[qtop.idl[name] for name in qtop.names])
reto.is_merged = qtop.is_merged reto.is_merged = qtop.is_merged