% PROGRAM PPLOAD
%
%    Load data taken with PCO 2000 CCD camera using white light source
%    and pepperpot mesh.  The 'ppim' arrays give the mean PepperPot IMage
%    data; the 'stdm' arrays give the STandard Deviation of the 50 images
%    for each pixel; the 'pphist' arrays contain the PepperPot HISTogram
%    data for each image.
%
%    Data files used:
%
%    25ms_10MHz_2ADC_f16_bg_50.tif
%    25ms_10MHz_2ADC_f16_mesh_50.tif
%    25ms_10MHz_2ADC_f8_mesh_50.tif
%    500ns_10MHz_2ADC_f8_smear_50.tif
%    500ns_10MHz_2ADC_f2-8_smear-max_50.tif
%    2ms_10MHz_2ADC_f2-8_smear-comp_50.tif
%    2ms_10MHz_2ADC_f2-8_tilt_50.tif
%    500ns_10MHz_2ADC_f2-8_tilt-smear_50.tif
%

%    Background image taken of bare screen

    [ppim_bg,stdm_bg,pphist_bg] = pepperplotfun('E:\pepperpot\15_03_06\25ms_10MHz_2ADC_f16_bg_50.tif',0,0) ;

%    Image of tungsten mesh

    [ppim_mesh,stdm_mesh,pphist_mesh] = pepperplotfun('E:\pepperpot\15_03_06\25ms_10MHz_2ADC_f16_mesh_50.tif',0,0) ;

%    Image of tungsten mesh with larger aperture

    [ppim_meshf8,stdm_meshf8,pphist_meshf8] = pepperplotfun('E:\pepperpot\15_03_06\25ms_10MHz_2ADC_f8_mesh_50.tif',0,0) ;

%    Comparable image with very short exposure to measure smear

    [ppim_smearf8,stdm_smearf8,pphist_smearf8] = pepperplotfun('E:\pepperpot\15_03_06\500ns_10MHz_2ADC_f8_smear_50.tif',0,0) ;

%    Maxmimum smear with 500ns exposure and f2.8 aperture

    [ppim_smearmax,stdm_smearmax,pphist_smearmax] = pepperplotfun('E:\pepperpot\15_03_06\500ns_10MHz_2ADC_f2-8_smear-max_50.tif',0,0) ;

%    Image of tungsten using maximum smear settings but longer, 2ms
%    exposure

    [ppim_smearcomp,stdm_smearcomp,pphist_smearcomp] = pepperplotfun('E:\pepperpot\15_03_06\2ms_10MHz_2ADC_f2-8_smear-comp_50.tif',0,0) ;

%    Tilted tungsten mesh using maximum smear settings and 2ms exposure

    [ppim_tilt,stdm_tilt,pphist_tilt] = pepperplotfun('E:\pepperpot\15_03_06\2ms_10MHz_2ADC_f2-8_tilt_50.tif',0,0) ;

%    Smear measurement for tilted mesh using 500ns exposure

    [ppim_tiltsmear,stdm_tiltsmear,pphist_tiltsmear] = pepperplotfun('E:\pepperpot\15_03_06\500ns_10MHz_2ADC_f2-8_tilt-smear_50.tif',0,0) ;

    return



