SG smooting
write_ascii to export single scans
minor update for compatibility with write_ascii in specfiledata.py