Skip to content

M_RRdot_GPXY transposed w.r.t. documentation #161

Description

@shauglandarka

Hello, I'm noticing that theM_RRdot_GPXY matrix created in compute_gp_xy_parameters is transposed with respect to the documentation in SICD 1.5 Vol. 3 pg 66 section (4), where the zero is in the upper right hand side.

Here where m_rrdot_gpxy is defined by a set of nested np.stack() calls:

m_rrdot_gpxy = np.negative(

This chunk of np.stack calls seems to put the zero on the bottom left. Here is the output on a bistatic_small.sicd test file:

866            gp_xy_params = compute_gp_xy_parameters(
867                 g[above_threshold, :],
868                 ugpn[above_threshold, :],
869                 pt_r_rdot_params.bP_PT,
870                 pt_r_rdot_params.bPDot_PT,
871             )

(Pdb) pp gp_xy_params.M_RRdot_GPXY
array([[[-8.39392111e-01, -9.28325248e-05],
        [-0.00000000e+00,  2.66577045e-02]]])

In this case, r_rdot_to_ground_plane_bi() will still converge because the other off-diagonal element is very small, but in other cases it takes many more iterations to converge.

Anyways, this could be intentional depending on how you've organized the system of equations downstream but I figured I would flag it. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions