Add part to generate artificial CCD pattern and their indices.