def run(self):
if RANK == <NUM_LIT:0>:<EOL><INDENT>if '<STR_LIT>' in self.savelist:<EOL><INDENT>self.LFPdict, self.LFPsum = self.calc_lfp()<EOL>self.LFPdictLayer = self.calc_lfp_layer()<EOL>f = h5py.File(os.path.join(self.savefolder,<EOL>self.compound_file.format('<STR_LIT>')<EOL>), '<STR_LIT:w>')<EOL>f['<STR_LIT>'] = <NUM_LIT> / self.dt_output<EOL>f.create_dataset('<STR_LIT:data>', data=self.LFPsum, compression=<NUM_LIT:4>)<EOL>f.close()<EOL>for key, value in list(self.LFPdictLayer.items()):<EOL><INDENT>f = h5py.File(os.path.join(self.populations_path,<EOL>self.output_file.format(key,<EOL>'<STR_LIT>')<EOL>), '<STR_LIT:w>')<EOL>f['<STR_LIT>'] = <NUM_LIT> / self.dt_output<EOL>f.create_dataset('<STR_LIT:data>', data=value, compression=<NUM_LIT:4>)<EOL>f.close()<EOL><DEDENT><DEDENT>if '<STR_LIT>' in self.savelist:<EOL><INDENT>self.CSDdict, self.CSDsum = self.calc_csd()<EOL>self.CSDdictLayer = self.calc_csd_layer()<EOL>f = h5py.File(os.path.join(self.savefolder,<EOL>self.compound_file.format('<STR_LIT>')),<EOL>'<STR_LIT:w>')<EOL>f['<STR_LIT>'] = <NUM_LIT> / self.dt_output<EOL>f.create_dataset('<STR_LIT:data>', data=self.CSDsum, compression=<NUM_LIT:4>)<EOL>f.close()<EOL>for key, value in list(self.CSDdictLayer.items()):<EOL><INDENT>f = h5py.File(os.path.join(self.populations_path,<EOL>self.output_file.format(key,<EOL>'<STR_LIT>')<EOL>), '<STR_LIT:w>')<EOL>f['<STR_LIT>'] = <NUM_LIT> / self.dt_output<EOL>f.create_dataset('<STR_LIT:data>', data=value, compression=<NUM_LIT:4>)<EOL>f.close()<EOL><DEDENT><DEDENT><DEDENT>else:<EOL><INDENT>pass<EOL><DEDENT>
Perform the postprocessing steps, computing compound signals from
        cell-specific output files.