An apparatus comprises a flexible substrate including a modular electrode array disposed on the flexible substrate. The modular electrode array includes a plurality of electrode modules, where an electrode module includes a plurality of electrodes. The flexible substrate also includes a spatial separation between the electrode modules of the modular electrode array, and conductive interconnect coupled to the electrodes of the plurality of electrodes.