public class ChannelGroup
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
dbid |
Modifier | Constructor and Description |
---|---|
protected |
ChannelGroup() |
|
ChannelGroup(ChannelImpl[] channels) |
Modifier and Type | Method and Description |
---|---|
boolean |
areEqual(ChannelGroup other) |
boolean |
contains(Channel c) |
ChannelImpl |
getChannel(ChannelId chanId,
EventAccessOperations event)
Gets the channel that corresponds to this channelId from the
ChannelGroup.
|
ChannelImpl |
getChannel1() |
ChannelImpl |
getChannel2() |
ChannelImpl |
getChannel3() |
ChannelImpl[] |
getChannels() |
int |
getDbid() |
ChannelImpl[] |
getHorizontal()
Finds the 2 horizontal channels.
|
ChannelImpl[] |
getHorizontalXY()
Gets the horizontals as X and Y, so that the first channel's azimuth is equal to
the seconds + 90 degrees, ie x -> east (90) and y -> north (0).
|
ChannelImpl[] |
getHorizontalXY(float toleranceDegrees)
Gets the horizontals as X and Y, so that the first channel's azimuth is equal to
the seconds + 90 degrees, ie x -> east (90) and y -> north (0).
|
NetworkAttrImpl |
getNetworkAttr() |
ChannelImpl |
getRadial(EventAccessOperations event) |
ChannelImpl |
getRadial(Location eventLoc) |
StationImpl |
getStation() |
ChannelImpl |
getTransverse(EventAccessOperations event) |
ChannelImpl |
getTransverse(Location eventLoc) |
ChannelImpl |
getVertical()
Finds the vertical channel.
|
void |
makeTransverseAndRadial(int transverseIndex,
int radialIndex,
EventAccessOperations event)
replaces the horizontal components with their radial and transverse
versions in the ChannelGroup This should only be called if the
seismograms that are accompanying this ChannelGroup through the vector
process sequence have been rotated.
|
protected void |
setChannel1(ChannelImpl chan) |
protected void |
setChannel2(ChannelImpl chan) |
protected void |
setChannel3(ChannelImpl chan) |
protected void |
setDbid(int i) |
public ChannelGroup(ChannelImpl[] channels)
protected ChannelGroup()
protected void setDbid(int i)
public int getDbid()
public ChannelImpl[] getChannels()
public boolean contains(Channel c)
public ChannelImpl getVertical()
public ChannelImpl[] getHorizontal()
public ChannelImpl[] getHorizontalXY()
public ChannelImpl[] getHorizontalXY(float toleranceDegrees)
public ChannelImpl getChannel(ChannelId chanId, EventAccessOperations event)
public void makeTransverseAndRadial(int transverseIndex, int radialIndex, EventAccessOperations event)
public ChannelImpl getRadial(EventAccessOperations event)
public ChannelImpl getRadial(Location eventLoc)
public ChannelImpl getTransverse(EventAccessOperations event)
public ChannelImpl getTransverse(Location eventLoc)
public ChannelImpl getChannel1()
public ChannelImpl getChannel2()
public ChannelImpl getChannel3()
public StationImpl getStation()
public NetworkAttrImpl getNetworkAttr()
public boolean areEqual(ChannelGroup other)
protected void setChannel1(ChannelImpl chan)
protected void setChannel2(ChannelImpl chan)
protected void setChannel3(ChannelImpl chan)