pysilcam/plotting.py
def nd_scaled(stats, settings, ax, c='k'):
    '''
    Plot the particle number distribution, scaled to the total volume of water sampled
    
    Args:
        stats (DataFrame)           : particle statistics from silcam process
        settings (PySilcamSettings) : settings associated with the data, loaded with PySilcamSettings
        ax ()                       : axis to plot data on
        c='k' (str)                 : color of the line to be plotted
        
    '''
    sv = sc_pp.get_sample_volume(settings.pix_size,
            path_length=settings.path_length,
            imx=2048, imy=2448) # sample volume per image
    # re-scale sample volume to number of images
    sv_total = sv * sc_pp.count_images_in_stats(stats) # total sampled water volume

    nd(stats, settings, ax, line=None, c='k', sample_volume=sv_total)
    return

    Plot the particle number distribution, scaled to the total volume of water sampled
    
    Args:
        stats (DataFrame)           : particle statistics from silcam process
        settings (PySilcamSettings) : settings associated with the data, loaded with PySilcamSettings
        ax ()                       : axis to plot data on
        c='k' (str)                 : color of the line to be plotted
        
    
Plot the particle number distribution, scaled to the total volume of water sampled
Plot the particle number distribution scaled to the total volume of water sampled
def nd_scaled(stats, settings, ax, c='k'):
    sv = sc_pp.get_sample_volume(settings.pix_size,
            path_length=settings.path_length,
            imx=2048, imy=2448) 
    sv_total = sv * sc_pp.count_images_in_stats(stats) 
    nd(stats, settings, ax, line=None, c='k', sample_volume=sv_total)
    return
def nd_scaled ( stats , settings , ax , c = 'k' ) : sv = sc_pp . get_sample_volume ( settings . pix_size , path_length = settings . path_length , imx = 2048 , imy = 2448 ) sv_total = sv * sc_pp . count_images_in_stats ( stats ) nd ( stats , settings , ax , line = None , c = 'k' , sample_volume = sv_total ) return
Plot the particle number distribution, scaled to the total volume of water sampled
Plot the particle number distribution scaled to the total volume of water sampled
'''
    Plot the particle number distribution, scaled to the total volume of water sampled
    
    Args:
        stats (DataFrame)           : particle statistics from silcam process
        settings (PySilcamSettings) : settings associated with the data, loaded with PySilcamSettings
        ax ()                       : axis to plot data on
        c='k' (str)                 : color of the line to be plotted
        
    ''' # sample volume per image # re-scale sample volume to number of images # total sampled water volume
stats
particle statistics from silcam process
particle statistics from silcam process
settings
settings associated with the data, loaded with PySilcamSettings
settings associated with the data loaded with PySilcamSettings
ax
c
ax ()                       
axis to plot data on
axis to plot data on
c='k'
color of the line to be plotted
color of the line to be plotted