This is what your flat file would look like converted to JSON:
Code:
{
"point_optimization_version" : "0.0.1",
"data_reduction": {
"collinearity_tolerance": false,
"collinearity_tolerance_distance": 1,
"collinearity_tolerance_angle": 5,
"remove_identical_points": true,
"remove_unnecessary_blanked_points": true,
"intensity_offset": 0.001
},
"scanner_optimization" : {
"interpolation": {
"interpolation_distance": 100,
"interpolation_blanked": true,
"interpolation_blanked_distance": 100
},
"angle_dewll": [
[0,10,6],
[11,20,5],
[21,50,4],
[51,100,3],
[101,120,2],
[121,150,1],
[151,180,0]
],
"transition_dwell": true,
"begin_point_dwell": 2,
"end_point_dwell": 2,
"blank_to_lit_dwell": 2,
"lit_to_blank_dwell": 2
}
}
Another advantage of using a well-defined format, is that you get syntax coloring for free! I like syntax coloring!
optimi-json.png