I'm writing a python script to implement gradual selection. As part of the script, I was to tighten the tiepoint accuracy, but I'm receiving an error. code and error follow.
Edit: Looks like my error was that I needed to assign float to the parameter.
accuracy_TP = float(0.3)
I thought I had tried this prior to posting, but I guess I was wrong. I'll leave this here to demonstrate my ineptitude. -s
#### processing parameters
...
accuracy_TP = 0.3
...
####Processing
doc = PhotoScan.Document()
chunk = doc.addChunk()
...
chunk.tiepoint_accuracy(accuracy_TP)
...
The error I receive:
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-89-3b268cc58787> in <module>()
----> 1 chunk.tiepoint_accuracy(accuracy_TP)
TypeError: 'float' object is not callable
I'm sure I'm missing something simple. Thanks.