MCPcopy Create free account
hub / github.com/OpenImagingLab/4DSloMo / get_cov_t

Method get_cov_t

scene/gaussian_model.py:227–233  ·  view source on GitHub ↗
(self, scaling_modifier = 1)

Source from the content-addressed store, hash-verified

225 return (self.max_sh_degree+1)**2 * (self.max_sh_degree_t + 1)
226
227 def get_cov_t(self, scaling_modifier = 1):
228 if self.rot_4d:
229 L = build_scaling_rotation_4d(scaling_modifier * self.get_scaling_xyzt, self._rotation, self._rotation_r)
230 actual_covariance = L @ L.transpose(1, 2)
231 return actual_covariance[:,3,3].unsqueeze(1)
232 else:
233 return self.get_scaling_t * scaling_modifier
234
235 def get_marginal_t(self, timestamp, scaling_modifier = 1): # Standard
236 sigma = self.get_cov_t(scaling_modifier)

Callers 1

get_marginal_tMethod · 0.95

Calls 1

Tested by

no test coverage detected