FWIW this could be done more simply by exploiting the similarity of `Header` to a `dict`.  For example:

```
a_pars = dict(**hdr['A_*'])
```

but I wouldn't bother changing it here.