I would do something like:

```
for j, recseg in enumerate(self.stfio_rec[0]):
    ...
```