Skip to content

jrmlhermitte/rdeltaphicorr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Angular Correlations

This code is intended for the calculation of angular correlations on X-ray diffraction data. See examples for usage.

Sample Usage

Usage is as follows:

    from rdeltaphicorr.rdpc import RDeltaPhiCorrelator
    norbins = 800
    nophibins = 400
    # load a mask
    # load an image
    rdpc = RDeltaPhiCorrelator(img.shape,origin=origin,mask=mask,rbins=nobins, phibins=nophibins)
    # imgs is a 3D array (series of 2D images)
    rdpc.run(imgs)
    # result is stored in rdpc.rdeltaphiavg_n
    plt.imshow(rdpc.rdeltaphiavg_n);
    plt.clim(0,1);

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages