Skip to content

Problem in the upsampling process for computing Y and Z #4

Open
@liulj13

Description

@liulj13

Hi, thanking you for your great work!
I have some problems regarding the upsampling process.
In the line 212 to line 215 in scripts/convert.py, to compute the Y and Z you wrote:
`# get Y
interm[:,1] = xyzirl1[:,1] + d*(xyzirl2[:,1]-xyzirl1[:,1]) / D # y1 + d * (y2-y1) / D
'# get Z
interm[:,2] = xyzirl1[:,2] + d*(xyzirl2[:,2]-xyzirl1[:,2]) / D # z1 + d * (z2-z1) / D
I am wondering why don't you just use the average number instead?
interm[:,1] = (xyzirl1[:,1] + xyzirl2[:,1]) / 2
interm[:,2] = (xyzirl1[:,2] + xyzirl2[:,2]) / 2
Why it is not in the way that you compute the X, I, R?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions