In this LDRD we examine techniques to analyze the electromagnetic scattering from structures that are nearly periodic. Nearly periodic could mean that one of the structure's unit cells is different from all the others -a defect. It could also mean that the structure is truncated, or butted up against another periodic structure to form a seam. Straightforward electromagnetic analysis of these nearly periodic structures requires us to grid the entire structure, which would overwhelm today's computers and the computers in the foreseeable future. In this report we will examine various approximations that allow us to continue to exploit some aspects of the structure's periodicity and thereby reduce the number of unknowns required for analysis. We will use the Green's Function Interpolation with a Fast Fourier Transform (GIFFT) to examine isolated defects both in the form of a source dipole over a meta-material slab and as a rotated dipole in a finite array of dipoles. We will look at the numerically exact solution of a one-dimensional seam. In order to solve a two-dimensional seam, we formulate an efficient way to calculate the Green's function of a 1d array of point sources. We next formulate ways of calculating the far-field due to a seam and due to array truncation based on both array theory and high-frequency asymptotic methods. We compare the high-frequency and GIFFT results. Finally, we use GIFFT to solve a simple, two-dimensional seam problem.3