def ShowControls(Controls, pFile=None, SeqRef=False):
    """Print controls information"""
    pFile.write(' Least squares controls:\n')
    pFile.write(' Refinement type: %s\n' % Controls['deriv type'])
    if 'Hessian' in Controls['deriv type']:
        pFile.write(' Maximum number of cycles: %d\n' % Controls['max cyc'])
    else:
        pFile.write(' Minimum delta-M/M for convergence: %.2g\n' % Controls
            ['min dM/M'])
    pFile.write(' Regularize hydrogens (if any): %s\n' % Controls.get(
        'HatomFix', False))
    pFile.write(' Initial shift factor: %.3f\n' % Controls['shift factor'])
    if SeqRef:
        pFile.write(' Sequential refinement controls:\n')
        pFile.write(' Copy of histogram results to next: %s\n' % Controls[
            'Copy2Next'])
        pFile.write(' Process histograms in reverse order: %s\n' % Controls
            ['Reverse Seq'])
