def calc_centroids(self):
self.cm = np.zeros((len(self.postcard), <NUM_LIT:2>))<EOL>for i in range(len(self.postcard)):<EOL><INDENT>target = self.postcard[i]<EOL>target[self.targets != <NUM_LIT:1>] = <NUM_LIT:0.0><EOL>self.cm[i] = center_of_mass(target)<EOL><DEDENT>
Identify the centroid positions for the target star at all epochs. Useful for verifying that there is
no correlation between flux and position, as might be expected for high proper motion stars.