We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9770c67 + 93794e5 commit db836acCopy full SHA for db836ac
1 file changed
catkit2/testbed/proxies/bmc_dm.py
@@ -2,6 +2,7 @@
2
3
import numpy as np
4
from astropy.io import fits
5
+import hcipy
6
7
@ServiceProxy.register_service_interface('bmc_dm')
8
class BmcDmProxy(ServiceProxy):
@@ -18,6 +19,12 @@ def dm_mask(self):
18
19
def num_actuators(self):
20
return self.config['num_actuators']
21
22
+ @property
23
+ def actuator_grid(self):
24
+ dims = self.dm_mask.shape[::-1]
25
+
26
+ return hcipy.make_uniform_grid(dims, dims)
27
28
def dm_shapes_to_command(self, dm1_shape, dm2_shape=None):
29
command = np.zeros(2048)
30
0 commit comments