Changeset 4094 for trunk/G2shapes.py


Ignore:
Timestamp:
Aug 15, 2019 2:54:58 PM (2 years ago)
Author:
vondreele
Message:

SHAPES now complete, but slow.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/G2shapes.py

    r4084 r4094  
    2525import sys
    2626import os
     27import copy
    2728import random
    2829import time
     
    647648   
    648649        angstrom_scale = 1.0
    649         Bins,Dbins,BinMag = data['Size']['Distribution']
     650        Bins,Dbins,BinMag = data['Pair']['Distribution']
    650651       
    651652        aList_r += list(Bins)
     
    18301831        # Write input and model P(r)
    18311832#        pr_writer(aList_pr,aList_r,aList_pr_model,file_pr)
    1832         PRcalc.append([aList_r,aList_pr,aList_pr_model,delta_hist_sum])
     1833        PRcalc.append([aList_r,aList_pr,copy.copy(aList_pr_model),delta_hist_sum])
    18331834   
    18341835        # Calculate comparison versus intensities
Note: See TracChangeset for help on using the changeset viewer.