def save_credentials(self, profile="default"):
        f = profile_path(DBPY_PROFILE_ID, profile)
        dump_to_json(f, self.credentials)
Generate support area as a box for either 2D or 3D cases.
dataset/ETHPy150Open yhat/db.py/db/db.py/DB.save_credentials--crossover with--dataset/ETHPy150Open scikit-beam/scikit-beam/skbeam/core/cdi.py/generate_box_support