{\rtf1\ansi\ansicpg1252\cocoartf1671\cocoasubrtf200
{\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fswiss\fcharset0 Helvetica-Bold;}
{\colortbl;\red255\green255\blue255;\red0\green0\blue255;}
{\*\expandedcolortbl;;\csgenericrgb\c0\c0\c100000;}
\margl1440\margr1440\vieww12240\viewh13380\viewkind1
\deftab720
\pard\pardeftab720\ri0\sl276\slmult1\sa200\partightenfactor0

\f0\fs22 \cf0 Details for Conductive Polymer Analysis Program\
Author: Alex Summerfield\
Date: 07/02/2019\
Notes on use:\
Analysis consists of two parts; one python script to do the sliding 2DFFT process on the main image (polymerCrunch.py) and the other to take the processed data, select specific Fourier peaks and plot the data using matplotlib (this produces component parts of the sub-figures in Fig. 4 in the main paper. Both scripts run in Python 2.7 and require some extra python modules to be installed (listed at the top of the source code in both scripts).\
Scripts:\
\pard\pardeftab720\ri0\sl276\slmult1\sa200\partightenfactor0

\f1\b \cf0 polmerCrunch.py 
\f0\b0 loads in a delimited text file of an AFM image (exported using Gwyddion - {\field{\*\fldinst{HYPERLINK "http://www.gwyddion.net"}}{\fldrslt \cf2 \ul \ulc2 www.gwyddion.net}}). A kernel is then moved in x and y over the image (size determined by the appropriate variables in the script) with a variable defined step size and a 2DFFT is performed on each, the positions of peaks in the 2D power spectrum are then located and their spatial frequency and angle are determined. These values for the whole image are packaged together into a list and the item is saved into a .pickle file for later analysis and plotting. With the example image given here (polymerImagePhase.txt) processing takes 2-3 hours on an intel i5 laptop and results in a ~200 mb .pickle file called 'outputData.pickle\'92 and a couple of .csv file with x and y position data that also need to be loaded using the \'91polymeranalysis.py\'92 script.\

\f1\b polymerAnalysis.py
\f0\b0  is used to display and plot the data from the 'outputData.pickle' file to produce the figures used in the main paper.\
\
}