newcrystal, savecrystal

           
class newcrystal(Macro, _diffrac):
    """ Create a new crystal (if it does not exist) and select it. """
    
    param_def = [
        ['crystal_name',  Type.String,   None, 'Name of the crystal to add and select']
        ]

class savecrystal(Macro,_diffrac):
        
    param_def = [
        ['crystal_file',  Type.String,   "Not set", 'Name of the file (with complete path) for saving the crystal information']
        ]

n.n.



2019-11-13