Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/s/b/sba-1.6.0/sba/projections.py   sba(Download)
            else:
                raise SbaError("Unrecognized projection option")
        elif options.motstruct==sba.options.OPTS_MOT:
            if options.camera==sba.options.OPTS_CAMS:
                return _MotionExpert_Cameras
            else:
                raise SbaError("Unrecognized projection option")
        elif options.motstruct==sba.options.OPTS_MOT:
            if options.camera==sba.options.OPTS_CAMS:
                return _MotionSimple_Cameras
                else:
                    raise SbaError("Unrecognized Jacobian option")
            elif options.motstruct==sba.options.OPTS_MOT:
                if options.camera==sba.options.OPTS_CAMS:
                    return _MotionJacobianExpert_Cameras
                else:
                    raise SbaError("Unrecognized Jacobian option")
            elif options.motstruct==sba.options.OPTS_MOT:
                if options.camera==sba.options.OPTS_CAMS:
                    return _MotionJacobianSimple_Cameras

src/s/b/sba-1.6.0/sba/routines.py   sba(Download)
        if options.motstruct==sba.options.OPTS_MOTSTRUCT:
            return _MotionStructureExpert
        elif options.motstruct==sba.options.OPTS_MOT:
            return _MotionExpert
        elif options.motstruct==sba.options.OPTS_STRUCT:
        if options.motstruct==sba.options.OPTS_MOTSTRUCT:
            return _MotionStructureSimple
        elif options.motstruct==sba.options.OPTS_MOT:
            return _MotionSimple
        elif options.motstruct==sba.options.OPTS_STRUCT:

src/s/b/sba-1.6.0/sba/drivers.py   sba(Download)
                        options.optsToC(), # const
                        newinfo) # pointer, i want it back
        elif options.motstruct==sba.options.OPTS_MOT:
            cameras.zeroLocalRotationEstimates()
            options.ptparams = points.Bravel()
                        options.optsToC(), # const
                        newinfo) # pointer, i want it back
        elif options.motstruct==sba.options.OPTS_MOT:
            cameras.zeroLocalRotationEstimates()
            P = copy.deepcopy(cameras.Aravel())
        newpoints.B = P[options.ncameras*options.cnp:].reshape(newpoints.n,options.pnp) # unpack B from P second part
 
    elif options.motstruct==sba.options.OPTS_MOT:
        newcameras.camarray = P.reshape(options.ncameras,options.cnp) # unload A camera params only
        newcameras.combineLocalAndInitialRotation(options.rot0params) # combine local rotation estimates with initial ones

src/s/b/sba-1.6.0/sba/info.py   sba(Download)
        if options.motstruct == sba.options.OPTS_MOTSTRUCT:
            newinfo.nvars = int(cameras.ncameras*options.cnp+points.n*options.pnp)
        elif options.motstruct == sba.options.OPTS_MOT:
            newinfo.nvars = int(cameras.ncameras*options.cnp)
        elif options.motstruct == sba.options.OPTS_STRUCT: