Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fig.1: Image of cspad2x2, containing two 2x1 segments. Droplet-finder is applied to the calibrated and smeared data in three windows.

Format of the ndarray of droplets

Content of the record for each droplet is defined by the structure of six components

Code Block
  struct Droplet{
    unsigned seg;     // segment index (in 3-d ndarray of data) of the found droplet
    double   row;     // row index of the droplet center
    double   col;     // columnindex of the droplet center 
    double   ampmax;  // amplitude in the droplet maximum
    double   amptot;  // total amplitude in the range of peak_radius
    unsigned npix;    // number of pixels in the range of peak_radius
  };

The shape of the ndarray with table of droplets is [<number-of-droplets>, 6].

File with droplets data is a text table of the same paramaters, for example

Code Block
0         127       137       5.01175   60.1614   20      
0         129       166       4.55816   52.7998   20      
0         155       131       4.09197   48.5101   20      
1         105       17        3.65102   17.5217   6       
1         145       49        3.87695   30.5501   15      
1         116       249       3.07719   20.5181   11      
1         139       325       3.60641   60.2324   27    
...