| |
Methods defined here:
- __init__(self, *args, **kwargs)
- constructor
- bundle_adjust(self, *args, **kwargs)
- grad_descent(self)
- leven_marq(self)
- leven_marq_v1_5(self)
- set_Fvec(self, Fvector)
- This method supplies the NonlinearLeastSquares class with the prediction vector
whose each element is a functional form of the prediction in the observed data vector
X. Note that Fvec is a column vector --- meaning a numpy matrix with just one column.
- set_Fvec_BA(self, Fvector_BA)
- You need to call this method for providing the NonlinearLeastSquares class with the
prediction vector if you are going to be using the bundle-adjustment capabilities
of the class.
- set_X(self, X)
- set_X_BA(self, X_BA)
- set_debug(self, debug)
- set_display_function(self, display_function)
- set_initial_params(self, initial_params_dict)
- set_jacobian_functionals_array(self, jacobian_functionals_array)
- This method expects for its argument an Nxp matrix of functionals for the partial
derivatives needed for the Jacobian matrix. N is the number of measurements in
the X vector and p is the number of parameters in the model. If you are using
nonlinear least-squares to fit optimal surfaces to noisy measurements over the
xy-plane, each element of the X vector would correspond to one such measurement at
some (x,y) coordinates. And an element the argument jacobian_functionals_array chararray
would correspond to the partial derivative of the model functional that already
has incorporated the (x,y) coordinates corresponding to that row and that is
a partial derivative of the model with respect to the parameter corresponding to
the column.
- set_num_measurements(self, how_many_measurements)
- set_num_parameters(self, how_many_parameters)
- set_params_arranged_list(self, params_list)
- set_params_ordered_list(self, params_list)
- set_problem(self, prob)
- If you are using this module to solve structure from camera motion (sfm) problems, use this method
to set 'self.problem' to 'sfm_N' where 'N' is the number of world points you are tracking. This
is needed because sfm needs the specialized display function defined for the ProjectiveCamera class.
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|