Package edu.sc.seis.sod
Class ChannelGrouper
java.lang.Object
edu.sc.seis.sod.ChannelGrouper
public class ChannelGrouper
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description ChannelGrouper()
ChannelGrouper(java.lang.String configFileLoc)
-
Method Summary
Modifier and Type Method Description java.util.List<edu.sc.seis.sod.model.station.ChannelGroup>
group(java.util.List<edu.sc.seis.seisFile.fdsnws.stationxml.Channel> channels, java.util.List<edu.sc.seis.seisFile.fdsnws.stationxml.Channel> failures)
group channels into three components of motion.static boolean
sanityCheck(edu.sc.seis.sod.model.station.ChannelGroup channelGroup)
-
Constructor Details
-
ChannelGrouper
- Throws:
ConfigurationException
-
ChannelGrouper
- Throws:
ConfigurationException
-
-
Method Details
-
group
public java.util.List<edu.sc.seis.sod.model.station.ChannelGroup> group(java.util.List<edu.sc.seis.seisFile.fdsnws.stationxml.Channel> channels, java.util.List<edu.sc.seis.seisFile.fdsnws.stationxml.Channel> failures)group channels into three components of motion. It is assumed that all the channels in the list are from the same network.station.- Parameters:
channels
-failures
-- Returns:
-
sanityCheck
public static boolean sanityCheck(edu.sc.seis.sod.model.station.ChannelGroup channelGroup)
-