Пример #1
0
l4_basis = ogp_util.get_uch_mount(noballsdict,'L4') #pin basis in U-channel survey frame: l4, l5, l6 all the same, pin +Y is survey +Z, pin +Z is survey +/-Y, survey origin is L2 hole pin
#print l4_basis
l6_basis = ogp_util.get_uch_mount(noballsdict,'L6')


l4_basis_trans = ogp_util.transform_basis(ball_basis,modulesurvey_basis,l4_basis) #pin basis in module survey frame: pin +Y is survey +Z, pin +Z is survey +/-Y
#print l1_basis_trans

l5_basis_trans = ogp_util.transform_basis(ball_basis,modulesurvey_basis,l5_basis)
#print l2_basis_trans

l6_basis_trans = ogp_util.transform_basis(ball_basis,modulesurvey_basis,l6_basis)
#print l3_basis_trans

print "residuals between survey of mounted modules, and where we expect sensors to be from individual surveys of modules and U-channel:"
l4se_pts = ogp_util.get_sensor_points(modulesdict,'L4 stereo block',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l4_basis_trans,l4se,l4se_pts)

l4sp_pts = ogp_util.get_sensor_points(modulesdict,'L4 stereo lever',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l4_basis_trans,l4sp,l4sp_pts)

l4ae_pts = ogp_util.get_sensor_points(modulesdict,'L4 axial block',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l4_basis_trans,l4ae,l4ae_pts)

l4ap_pts = ogp_util.get_sensor_points(modulesdict,'L4 axial lever',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l4_basis_trans,l4ap,l4ap_pts)

l5se_pts = ogp_util.get_sensor_points(modulesdict,'L5 stereo block',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l5_basis_trans,l5se,l5se_pts)

l5sp_pts = ogp_util.get_sensor_points(modulesdict,'L5 stereo lever',3) #sensor edge points in module survey frame
Пример #2
0
l1_basis = ogp_util.get_uch_mount(noballsdict,'L1') #pin basis in U-channel survey frame: l1, l2, l3 all the same, pin +Y is survey +Z, pin +Z is survey +/-Y, survey origin is L2 hole pin
#print l1_basis
l3_basis = ogp_util.get_uch_mount(noballsdict,'L3')

l1_basis_trans = ogp_util.transform_basis(ball_basis,modulesurvey_basis,l1_basis) #pin basis in module survey frame: pin +Y is survey +Z, pin +Z is survey +/-Y
#print l1_basis_trans

l2_basis_trans = ogp_util.transform_basis(ball_basis,modulesurvey_basis,l2_basis)
#print l2_basis_trans

l3_basis_trans = ogp_util.transform_basis(ball_basis,modulesurvey_basis,l3_basis)
#print l3_basis_trans


print "residuals between survey of mounted modules, and where we expect sensors to be from individual surveys of modules and U-channel:"
l1s_pts = ogp_util.get_sensor_points(modulesdict,'L1 stereo',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l1_basis_trans,l1s,l1s_pts)

l1a_pts = ogp_util.get_sensor_points(modulesdict,'L1 axial',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l1_basis_trans,l1a,l1a_pts)

l2s_pts = ogp_util.get_sensor_points(modulesdict,'L2 stereo',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l2_basis_trans,l2s,l2s_pts)

l2a_pts = ogp_util.get_sensor_points(modulesdict,'L2 axial',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l2_basis_trans,l2a,l2a_pts)

l3s_pts = ogp_util.get_sensor_points(modulesdict,'L3 stereo',3) #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l3_basis_trans,l3s,l3s_pts)

l3a_pts = ogp_util.get_sensor_points(modulesdict,'L3 axial',3) #sensor edge points in module survey frame
Пример #3
0
l4_basis_trans = ogp_util.transform_basis(
    ball_basis, modulesurvey_basis, l4_basis
)  #pin basis in module survey frame: pin +Y is survey +Z, pin +Z is survey +/-Y
#print l1_basis_trans

l5_basis_trans = ogp_util.transform_basis(ball_basis, modulesurvey_basis,
                                          l5_basis)
#print l2_basis_trans

l6_basis_trans = ogp_util.transform_basis(ball_basis, modulesurvey_basis,
                                          l6_basis)
#print l3_basis_trans

print "residuals between survey of mounted modules, and where we expect sensors to be from individual surveys of modules and U-channel:"
l4se_pts = ogp_util.get_sensor_points(
    modulesdict, 'L4 stereo block',
    3)  #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l4_basis_trans, l4se, l4se_pts)

l4sp_pts = ogp_util.get_sensor_points(
    modulesdict, 'L4 stereo lever',
    3)  #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l4_basis_trans, l4sp, l4sp_pts)

l4ae_pts = ogp_util.get_sensor_points(
    modulesdict, 'L4 axial block',
    3)  #sensor edge points in module survey frame
ogp_util.find_sensor_residuals(l4_basis_trans, l4ae, l4ae_pts)

l4ap_pts = ogp_util.get_sensor_points(
    modulesdict, 'L4 axial lever',