project_frames#

PMDArray.project_frames(frames, standardize=True)[source]#

Projects frames onto the spatial basis, using the u_projector property. u_projector must be defined. :param frames: Frames which we want to project onto the spatial basis. :type frames: torch.tensor). Shape (fov_dim1, fov_dim2, num_frames) or (fov_dim1*fov_dim2, num_frames :param standardize: Indicates whether the frames of data are standardized before projection is performed :type standardize: Optional[bool]

Returns:

projected_frames (torch.tensor). Shape (fov_dim1 * fov_dim2, num_frames).

Return type:

tensor