An embodiment of the present invention is a technique to functionalize
carbon nanotubes in situ. A carbon nanotube (NT) array is grown or
deposited on a substrate. The NT array is functionalized in situ with a
polymer by partial thermal degradation of the polymer to form a NT
structure. The functionalization of the NT structure is characterized.
The functionalized NT structure is processed according to the
characterized functionalization.