Add Ptychography_1dsample as a sub class of Ptychography
fix bug in unitTest_1dsample.py