See MVO-Seisan-event-database-to-Pickle-CSV-files
01_compute_gains.py appears to be an attempt to generalize 00_convert_seisandb_to_csvfiles.py to create both uncorrected and corrected pickle files and traceCSV files. Consider merging elements of this 01_compute_gains.py into 00_convert_seisandb_to_csvfiles.py, to process uncorrected and corrected waveforms within the same workflow.
See MVO-Seisan-event-database-to-Pickle-CSV-files
01_compute_gains.py appears to be an attempt to generalize 00_convert_seisandb_to_csvfiles.py to create both uncorrected and corrected pickle files and traceCSV files. Consider merging elements of this 01_compute_gains.py into 00_convert_seisandb_to_csvfiles.py, to process uncorrected and corrected waveforms within the same workflow.