-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Labels
ld-decodeAn issue only affecting the ld-decode[r]An issue only affecting the ld-decode[r]
Milestone
Description
Threw one of my worst rotters at it, didn't get far without a crash:
$ python3 ~/github/ld-decode-rev5/ld-decode.py -nj rottest_1.lds rottest1
file frame 0 CAV frame 341
file frame 1 CAV frame 342
Traceback (most recent call last):
File "~/github/ld-decode-rev5/ld-decode.py", line 123, in <module>
write_json(ldd, outname)
File "~/github/ld-decode-rev5/ld-decode.py", line 89, in write_json
jsondict = ldd.build_json(ldd.curfield)
File "~/github/ld-decode-rev5/lddecode_core.py", line 2338, in build_json
vp['black16bIre'] = np.float(f.hz_to_output(f.rf.iretohz(self.blackIRE)))
File "~/github/ld-decode-rev5/lddecode_core.py", line 1643, in hz_to_output
return np.uint16(np.clip((reduced * self.out_scale) + 1024, 0, 65535) + 0.5)
AttributeError: 'FieldNTSC' object has no attribute 'out_scale'
Info: Processing complete
Metadata
Metadata
Assignees
Labels
ld-decodeAn issue only affecting the ld-decode[r]An issue only affecting the ld-decode[r]