Is this right?
Opened this issue · 1 comments
zhaoyipeng commented
The 1098-1117 lines of tool_error.py are as follows
init_error = []
for i, (u, l) in enumerate(zip(
error.survey.inc_rad[1:], error.survey.inc_rad[:-1]
)):
init_error.append(0.0)
if all((
u > kwargs['header']['XY Static Gyro']['End Inc'],
l <= kwargs['header']['XY Static Gyro']['End Inc']
)):
for tool in kwargs['errors'].gyro_stationary:
temp = kwargs['errors'].errors[tool].e_DIA[i - 1][2]
if tool in ['GXY_RN']:
temp *= kwargs['header']['Noise Reduction Factor']
init_error[-1] += temp
temp = [0.0]
for i, (u, e) in enumerate(zip(dpde[1:, 2], init_error)):
temp.append(0.0)
if u != 0.0:
temp[-1] += np.sqrt(temp[-2] ** 2 + u * mag)
in these code, "init_error" totally unused, and the function name is "GXY_GRW", why "GXY_RN" used in code
jonnymaserati commented
@zhaoyipeng this code was experimental and shouldn't be used - it was a start and I never finished it off.