update spec API to match galsim
whoops, forgot __init__
update for new API
debug truncate
new API
debug new API