esys :: lsm :: sim :: WavePropagation :: SeismographGroupCollection :: Class SeismographGroupCollection
[hide private]
[frames] | no frames]

Class SeismographGroupCollection

Represents a collection/list of SeismographGroup objects.

Instance Methods [hide private]
 
__init__(self, lsm)
esys.lsm.sim.WavePropagation.WavePropagation
getLsm(self)
Returns the LSM object associated with this collection.
Seismograph
createSeismograph(self, posn)
Creates a seismograph at the specified position.
Seismograph
getSeismograph(self, posn)
Returns seismograph for the given position.
 
createGroup(self, posnIterable, fileNamePrefix, sourcePosn)
Creates multiple seismographs from a sequence of locations.
 
getSeismographData(self)
Returns a sequence of SeismographData objects representing seismograph data for the current time step.
 
saveSeismoData(self)
Saves seismograph data for each group of seismographs.
 
writeReorderedRecordSectionData(self)
Writes reordered seismo data to file, data is ordered by distance-to-source then by time.
Method Details [hide private]

__init__(self, lsm)
(Constructor)

 
Parameters:

createSeismograph(self, posn)

 

Creates a seismograph at the specified position.

Parameters:
  • posn (Vec3) - Approximate location of seismograph.
Returns: Seismograph
Newly created Seismograph object.

getSeismograph(self, posn)

 

Returns seismograph for the given position. Only allows a unique instance of a seismograph for a particular spatial region.

Returns: Seismograph

createGroup(self, posnIterable, fileNamePrefix, sourcePosn)

 

Creates multiple seismographs from a sequence of locations.

Parameters:
  • posnIterable (sequence of Vec3) - sequence of seismograph approximate locations.
  • fileNamePrefix (string) - prefix of file where seimo data is saved.
  • sourcePosn (Vec3) - Location of source disturbance.