a test PSFEx code (shouldn't belong to this branch, but oh well)
(#6)