Windows write out needs to modified, according to Ebru's suggestion, write out the zero length window list event there is no window generated. Also, window read in should be modified. This will help Ebru to keep track of everything in window selection. [Done]
Pytomo3d should be modified accordingly.
Merge instruments and channels operation, for Youyi's request. Since in his data, we also have "LHZ" and "BHZ" channels. So after window selection, we just want to keep one instrument on one channel for now. Otherwise, it is going to write everything out(for future use). So people can just put everything inside and it will select the best one channel out.[Done]
Adjoint sources, if there are multiple instruments and channels, each adjoint source should be write out accordingly. For example, if there the write function detects in one station adjoint sources, there are "II_AAK_00_BHZ", "II_AAK_00_LHZ", "II_AAK_10_BHZ", every adjoint source should be write out with its corresponding location and channel [Done]
For summing adjoint sources, adding missing components should be added at that stage.
A script that extracts misfit information for adjoint sources and save them to a json file.
Windows write out needs to modified, according to Ebru's suggestion, write out the zero length window list event there is no window generated. Also, window read in should be modified. This will help Ebru to keep track of everything in window selection. [Done]
Pytomo3d should be modified accordingly.