Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

best practice for updating RPCs with new coordinate sets? #5

Open
joemcglinchy opened this issue Mar 13, 2024 · 0 comments
Open

best practice for updating RPCs with new coordinate sets? #5

joemcglinchy opened this issue Mar 13, 2024 · 0 comments

Comments

@joemcglinchy
Copy link

Hello,

I was wondering if the example in usage.py for calibrating the RPCs using calibrate_rpc can also be used as-is with the same optional arguments for updating the RPC model with new point sets? Or is there a recommended set of values for the optional arguments when updating?

is something like this the best way to accomplish an update to the RPC model?

# fit on training set
rpc_calib, log = rpc_fit.calibrate_rpc(target_train, locs_train, separate=False, tol=1e-10
                                      , max_iter=20, method='initLcurve'
                                      , plot=True, orientation = 'projloc', get_log=True )

# add new points to update rpc
rpc_update, log_update = rpc_fit.calibrate_rpc(target_update, locs_update, separate=False, tol=1e-10
                                      , max_iter=20, method='initLcurve'
                                      , plot=True, orientation = 'projloc', get_log=True,
                                      init=rpc_calib)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant