lstein.lstein.LSteinPanel.project_xy¶
- LSteinPanel.project_xy(x: ndarray, y: ndarray, y_projection_method: Literal['theta', 'y'] = 'theta') Tuple[ndarray, ndarray][source]¶
returns x and y after projection into the panel
method to project x and y into the panel using y_projection_method
calls upon project_xy_…() based on y_projection_method
generally y_projection_method=”theta” is the preferred modus operandi
- Parameters
- x
np.ndarray
x-values of the series to be projected into the panel
- y
np.ndarray
y-values of the series to be projected into the panel
- y_projection_method
Literal[“theta”,”y”], optioal
method to use for the projection
- the default is theta
uses self.project_xy_theta()
Raises
- Returns
- x_proj
np.ndarray
x after projection
- y_proj
np.ndarray
y after projection