-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
import numpy as np
from typhon.physics.units.common import ureg
from typhon.physics.units.em import SRF
frequency = ureg.Quantity(np.array(
[37011414567901.24, 36560055853658.54, 36119573253012.05, 35689578333333.336,
35269700941176.47, 34859588139534.887, 34458903218390.805, 34067324772727.27,
33684545842696.633, 33310273111111.11, 32944226153846.156]), 'Hz')
weight = np.array([1]*11)
srf = SRF(frequency, weight)
print(srf.centroid())
--> 34906834926126.227 hertz ** 2
Why hertz ^2 and not hertz ?
Thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels