@@ -607,64 +607,62 @@ def get_vacuum_probe(
607607
608608 # show
609609 if plot :
610- fig ,axs = plt .subplots (2 ,3 , figsize = (12 ,8 ))
610+ fig , axs = plt .subplots (2 , 3 , figsize = (12 , 8 ))
611611 show (
612612 probe .probe ,
613- scaling = ' log' ,
614- circle = {
615- ' center' : probe .origin ,
616- 'R' : probe .alpha ,
617- ' alpha' : 0.2 ,
618- ' fill' : True
613+ scaling = " log" ,
614+ circle = {
615+ " center" : probe .origin ,
616+ "R" : probe .alpha ,
617+ " alpha" : 0.2 ,
618+ " fill" : True ,
619619 },
620- figax = (fig ,axs [0 ,0 ])
620+ figax = (fig , axs [0 , 0 ]),
621621 )
622622 show (
623623 probe .probe ,
624- scaling = ' none' ,
625- intensity_range = ' minmax' ,
626- circle = {
627- ' center' : probe .origin ,
628- 'R' : probe .alpha ,
629- ' alpha' : 0.2 ,
630- ' fill' : True
624+ scaling = " none" ,
625+ intensity_range = " minmax" ,
626+ circle = {
627+ " center" : probe .origin ,
628+ "R" : probe .alpha ,
629+ " alpha" : 0.2 ,
630+ " fill" : True ,
631631 },
632- figax = (fig ,axs [0 ,1 ])
632+ figax = (fig , axs [0 , 1 ]),
633633 )
634634 show (
635635 probe .probe ,
636- scaling = 'none' ,
637- intensity_range = 'absolute' ,
638- vmin = 0 ,vmax = np .max (probe .probe )* 0.1 ,
639- circle = {
640- 'center' :probe .origin ,
641- 'R' : probe .alpha ,
642- 'alpha' :0.2 ,
643- 'fill' :True
636+ scaling = "none" ,
637+ intensity_range = "absolute" ,
638+ vmin = 0 ,
639+ vmax = np .max (probe .probe ) * 0.1 ,
640+ circle = {
641+ "center" : probe .origin ,
642+ "R" : probe .alpha ,
643+ "alpha" : 0.2 ,
644+ "fill" : True ,
644645 },
645- figax = (fig ,axs [0 ,2 ])
646+ figax = (fig , axs [0 , 2 ]),
646647 )
648+ show (probe .probe , scaling = "log" , figax = (fig , axs [1 , 0 ]))
647649 show (
648650 probe .probe ,
649- scaling = 'log' ,
650- figax = (fig ,axs [1 ,0 ])
651+ scaling = "none" ,
652+ intensity_range = "minmax" ,
653+ figax = (fig , axs [1 , 1 ]),
651654 )
652655 show (
653656 probe .probe ,
654- scaling = 'none' ,
655- intensity_range = 'minmax' ,
656- figax = (fig ,axs [1 ,1 ])
657+ scaling = "none" ,
658+ intensity_range = "absolute" ,
659+ vmin = 0 ,
660+ vmax = np .max (probe .probe ) * 0.1 ,
661+ figax = (fig , axs [1 , 2 ]),
657662 )
658- show (
659- probe .probe ,
660- scaling = 'none' ,
661- intensity_range = 'absolute' ,
662- vmin = 0 ,vmax = np .max (probe .probe )* 0.1 ,
663- figax = (fig ,axs [1 ,2 ])
664- )
665- axs [0 ,0 ].set_title ('log' )
666- axs [0 ,1 ].set_title ('linear | min/max' )
667- axs [0 ,2 ].set_title ('linear | min/0.1*max' )
663+ axs [0 , 0 ].set_title ("log" )
664+ axs [0 , 1 ].set_title ("linear | min/max" )
665+ axs [0 , 2 ].set_title ("linear | min/0.1*max" )
668666 plt .show ()
669667
670668 # add probe to tree and return
@@ -765,7 +763,6 @@ def get_probe_size(
765763 if returncal :
766764 return x
767765
768-
769766 # Bragg disks
770767
771768 def find_Bragg_disks (
0 commit comments