double pybdsm