pyrocko.io.ims¶
Read and write GSE2.0, GSE2.1, and IMS1.0 files.
Functions
|
Dump IMS/GSE2 sections to open file handle. |
|
Write IMS/GSE2 sections to string. |
|
Load IMS/GSE2 information from given source(s) |
|
Read IMS/GSE2 information from directory of IMS/GSE2 files. |
|
Load IMS/GSE2 records from open file handle. |
|
Read IMS/GSE2 information from named file. |
|
Read IMS/GSE2 information from files matching a glob pattern. |
|
Read IMS/GSE2 sections from bytes string. |
Classes
|
Representation of a BEA2 line. |
|
Representation of an entry in a BEAM group table. |
|
Representation of an entry in a BEAM parameters table. |
|
Representation of a DATA_TYPE BEAM section. |
|
Any |
|
Representation of a BEGIN line. |
|
Base class for IMS/GSE2 data blocks / lines. |
|
Representation of a DATA_TYPE BULLETIN section. |
|
Undocumented. |
|
Representation of a CAL2 line. |
|
Representation of a CAL2 + stages group in a response section. |
|
Representation of a CHK2 line. |
|
Representation of an entry in a CHANNEL section. |
|
Representation of a DATA_TYPE CHANNEL section. |
|
Representation of a DAT2 line. |
|
Representation of a DIG2 line. |
|
Representation of a DLY2 line. |
|
Representation of a DLY2/STA2 group. |
|
Representation of a DATA_TYPE line. |
|
Representation of an EID2 line. |
|
Representation of a DATA_TYPE ERROR_LOG section. |
|
Groups Event, Arrival, ... |
|
Undocumented. |
|
Representation of a DATA_TYPE EVENT section. |
|
Representation of a FAP2 line. |
|
Representation of the data tuples in FAP2 section. |
|
Representation of a FIR2 line. |
|
Representation of a line of coefficients in a FIR2 section. |
|
Representation of an FTP_FILE line. |
|
Representation of a DATA_TYPE FTP_LOG section. |
|
Any |
|
Base class for IMS/GSE2 free format lines. |
|
Representation of a GEN2 line. |
|
Representation of a data tuple in GEN2 section. |
|
Representation of a DATA_TYPE LOG section. |
|
Representation of a BEGIN/MSG_TYPE/MSG_ID/REF_ID group. |
|
Any |
|
Representation of a MSG_ID line. |
|
Undocumented. |
|
Representation of an entry in a NETWORK section. |
|
Representation of a DATA_TYPE NETWORK section. |
|
Representation of an OUT2 line. |
|
Representation of a OUT2/STA2 group. |
|
Undocumented. |
|
Undocumented. |
|
Representation of an entry in the OUTAGE section table. |
|
Representation of a the report period of an OUTAGE section. |
|
Representation of a DATA_TYPE OUTAGE section. |
|
Representation of a PAZ2 line. |
|
Representation of the complex numbers in PAZ2 sections. |
|
Representation of a REF_ID line. |
|
Representation of a DATA_TYPE RESPONSE line. |
|
Representation of a STA2 line. |
|
Base class for top level sections in IMS/GSE2 files. |
|
Base class for IMS/GSE2 response stages. |
|
Representation of an entry in a STATION section. |
|
Representation of a DATA_TYPE STATION section. |
|
Representation of a STOP line. |
|
Any |
|
Base class for table style sections. |
|
Representation of a TIME_STAMP line. |
|
Any |
|
Representation of a WID2 line. |
|
Representation of a WID2/STA2/EID2/BEA2/DAT2/CHK2 group. |
|
Representation of a DATA_TYPE WAVEFORM line. |
|
Any |
|
Representation of a XW01 line (which is a relict from GSE1). |
Exceptions
|
Raised when deserialization of an IMS/GSE2 object fails. |
Raised when serialization of an IMS/GSE2 object fails. |
- exception SerializeError[source]¶
Bases:
ExceptionRaised when serialization of an IMS/GSE2 object fails.
- exception DeserializeError(*args, **kwargs)[source]¶
Bases:
ExceptionRaised when deserialization of an IMS/GSE2 object fails.
- class Section(**kwargs)[source]¶
Bases:
ObjectBase class for top level sections in IMS/GSE2 files.
Sections as understood by this implementation typically correspond to a DATA_TYPE section in IMS/GSE2 but for some types a finer granularity has been chosen.
- class Block(**kwargs)[source]¶
Bases:
ObjectBase class for IMS/GSE2 data blocks / lines.
Blocks as understood by this implementation usually correspond to individual logical lines in the IMS/GSE2 file.
- class DataType(**kwargs)[source]¶
Bases:
BlockRepresentation of a DATA_TYPE line.
- ♦ type¶
str
- ♦ subtype¶
str, optional
- ♦ format¶
str
- ♦ subformat¶
str, optional
- class FTPFile(**kwargs)[source]¶
Bases:
FreeFormatLineRepresentation of an FTP_FILE line.
- ♦ net_address¶
str
- ♦ login_mode¶
- ♦ directory¶
str
- ♦ file¶
str
- class WaveformSubformat(...) str[source]¶
Bases:
StringChoiceAny
strout of['INT', 'CM6', 'CM8', 'AU6', 'AU8'].
- class WID2(**kwargs)[source]¶
Bases:
BlockRepresentation of a WID2 line.
- ♦ time¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ station¶
strstation code (5 characters)
- ♦ channel¶
strchannel code (3 characters)
- ♦ location¶
str, optional, default:''location code (aux_id, 4 characters)
- ♦ sub_format¶
str(WaveformSubformat), default:'CM6'
- ♦ nsamples¶
int, default:0
- ♦ sample_rate¶
float, default:1.0
- ♦ calibration_factor¶
float, optionalsystem sensitivity (m/count) at reference period (calibration_period)
- ♦ calibration_period¶
float, optionalcalibration reference period [s]
- ♦ instrument_type¶
str, optional, default:''instrument type (6 characters)
- ♦ horizontal_angle¶
float, optionalhorizontal orientation of sensor, clockwise from north [deg]
- ♦ vertical_angle¶
float, optionalvertical orientation of sensor from vertical [deg]
- class OUT2(**kwargs)[source]¶
Bases:
BlockRepresentation of an OUT2 line.
- ♦ time¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ station¶
strstation code (5 characters)
- ♦ channel¶
strchannel code (3 characters)
- ♦ location¶
str, optional, default:''location code (aux_id, 4 characters)
- ♦ duration¶
float
- class DLY2(**kwargs)[source]¶
Bases:
BlockRepresentation of a DLY2 line.
- ♦ time¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ station¶
strstation code (5 characters)
- ♦ channel¶
strchannel code (3 characters)
- ♦ location¶
str, optional, default:''location code (aux_id, 4 characters)
- ♦ queue_duration¶
floatduration of queue [s]
- class DAT2(**kwargs)[source]¶
Bases:
BlockRepresentation of a DAT2 line.
- ♦ raw_data¶
listofstrobjects, default:[]
- class STA2(**kwargs)[source]¶
Bases:
BlockRepresentation of a STA2 line.
- ♦ network¶
strnetwork code (9 characters)
- ♦ lat¶
float, optional
- ♦ lon¶
float, optional
- ♦ coordinate_system¶
str, default:'WGS-84'
- ♦ elevation¶
float, optionalelevation [m]
- ♦ depth¶
float, optionalemplacement depth [m]
- class EID2(**kwargs)[source]¶
Bases:
BlockRepresentation of an EID2 line.
- ♦ event_id¶
strevent ID (8 characters)
- ♦ bulletin_type¶
strbulletin type (9 characters)
- class BEA2(**kwargs)[source]¶
Bases:
BlockRepresentation of a BEA2 line.
- ♦ beam_id¶
strbeam ID (12 characters)
- ♦ azimuth¶
float
- ♦ slowness¶
float
- class Network(**kwargs)[source]¶
Bases:
BlockRepresentation of an entry in a NETWORK section.
- ♦ network¶
strnetwork code (9 characters)
- ♦ description¶
strdescription
- class Station(**kwargs)[source]¶
Bases:
BlockRepresentation of an entry in a STATION section.
- ♦ network¶
strnetwork code (9 characters)
- ♦ station¶
strstation code (5 characters)
- ♦ type¶
strstation type (4 characters) (1C: single component, 3C: three-component, hfa: high frequency array, lpa: long period array)
- ♦ lat¶
float
- ♦ lon¶
float
- ♦ coordinate_system¶
str, default:'WGS-84'
- ♦ elevation¶
floatelevation [m]
- ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ tmax¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp), optional
- class Channel(**kwargs)[source]¶
Bases:
BlockRepresentation of an entry in a CHANNEL section.
- ♦ network¶
strnetwork code (9 characters)
- ♦ station¶
strstation code (5 characters)
- ♦ channel¶
strchannel code (3 characters)
- ♦ location¶
str, optional, default:''location code (aux_id, 4 characters)
- ♦ lat¶
float, optional
- ♦ lon¶
float, optional
- ♦ coordinate_system¶
str, default:'WGS-84'
- ♦ elevation¶
float, optionalelevation [m]
- ♦ depth¶
float, optionalemplacement depth [m]
- ♦ horizontal_angle¶
float, optionalhorizontal orientation of sensor, clockwise from north [deg]
- ♦ vertical_angle¶
float, optionalvertical orientation of sensor from vertical [deg]
- ♦ sample_rate¶
float
- ♦ instrument_type¶
str, optional, default:''instrument type (6 characters)
- ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ tmax¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp), optional
- class BeamGroup(**kwargs)[source]¶
Bases:
BlockRepresentation of an entry in a BEAM group table.
- ♦ beam_group¶
strbeam group (8 characters)
- ♦ station¶
strstation code (5 characters)
- ♦ channel¶
strchannel code (3 characters)
- ♦ location¶
str, optional, default:''location code (aux_id, 4 characters)
- ♦ weight¶
int, optionalweight used for this component when the beam was formed
- ♦ delay¶
float, optionalbeam delay for this component [s] (used for meabs formed by non-plane waves)
- class BeamType(...) str[source]¶
Bases:
StringChoiceAny
strout of['inc', 'coh'].
- class FilterType(...) str[source]¶
Bases:
StringChoiceAny
strout of['BP', 'LP', 'HP', 'BR'].
- class BeamParameters(**kwargs)[source]¶
Bases:
BlockRepresentation of an entry in a BEAM parameters table.
- ♦ beam_id¶
str
- ♦ beam_group¶
str
- ♦ is_rotated¶
boolrotation flag
- ♦ azimuth¶
floatazimuth used to steer the beam [deg] (clockwise from North)
- ♦ slowness¶
floatslowness used to steer the beam [s/deg]
- ♦ phase¶
strphase used to set the beam slowness for origin-based beams (8 characters)
- ♦ filter_fmin¶
floatlow frequency cut-off for the beam filter [Hz]
- ♦ filter_fmax¶
floathigh frequency cut-off for the beam filter [Hz]
- ♦ filter_order¶
intorder of the beam filter
- ♦ filter_is_zero_phase¶
boolflag to indicate zero-phase filtering
- ♦ filter_type¶
str(FilterType)type of filtering
- ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)start date of beam use
- ♦ tmax¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp), optionalend date of beam use
- class OutageReportPeriod(**kwargs)[source]¶
Bases:
BlockRepresentation of a the report period of an OUTAGE section.
- ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ tmax¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- class Outage(**kwargs)[source]¶
Bases:
BlockRepresentation of an entry in the OUTAGE section table.
- ♦ network¶
strnetwork code (9 characters)
- ♦ station¶
strstation code (5 characters)
- ♦ channel¶
strchannel code (3 characters)
- ♦ location¶
str, optional, default:''location code (aux_id, 4 characters)
- ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ tmax¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- ♦ duration¶
float
- ♦ comment¶
str
- class CAL2(**kwargs)[source]¶
Bases:
BlockRepresentation of a CAL2 line.
- ♦ station¶
strstation code (5 characters)
- ♦ channel¶
strchannel code (3 characters)
- ♦ location¶
str, optional, default:''location code (aux_id, 4 characters)
- ♦ instrument_type¶
str, optional, default:''instrument type (6 characters)
- ♦ calibration_factor¶
floatsystem sensitivity (m/count) at reference period (calibration_period)
- ♦ calibration_period¶
floatcalibration reference period [s]
- ♦ sample_rate¶
floatsystem output sample rate [Hz]
- ♦ tmin¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)effective start date and time
- ♦ tmax¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp), optionaleffective end date and time
- ♦ comments¶
listofstrobjects, default:[]
- class Units(...) str[source]¶
Bases:
StringChoiceAny
strout of['V', 'A', 'C'].
- class Stage(**kwargs)[source]¶
Bases:
BlockBase class for IMS/GSE2 response stages.
Available response stages are
PAZ2,FAP2,GEN2,DIG2, andFIR2.- ♦ stage_number¶
intstage sequence number
- class PAZ2Data(**kwargs)[source]¶
Bases:
BlockRepresentation of the complex numbers in PAZ2 sections.
- ♦ real¶
float
- ♦ imag¶
float
- class PAZ2(**kwargs)[source]¶
Bases:
StageRepresentation of a PAZ2 line.
- ♦ scale_factor¶
floatscale factor [ouput units/input units]
- ♦ decimation¶
int, optionaldecimation
- ♦ correction¶
float, optionalgroup correction applied [s]
- ♦ npoles¶
intnumber of poles
- ♦ nzeros¶
intnumber of zeros
- ♦ description¶
str, optional, default:''description
- ♦ poles¶
listofcomplexobjects, default:[]
- ♦ zeros¶
listofcomplexobjects, default:[]
- ♦ comments¶
listofstrobjects, default:[]
- class FAP2Data(**kwargs)[source]¶
Bases:
BlockRepresentation of the data tuples in FAP2 section.
- ♦ frequency¶
float
- ♦ amplitude¶
float
- ♦ phase¶
float
- class FAP2(**kwargs)[source]¶
Bases:
StageRepresentation of a FAP2 line.
- ♦ decimation¶
int, optionaldecimation
- ♦ correction¶
floatgroup correction applied [s]
- ♦ ntrip¶
intnumber of frequency, amplitude, phase triplets
- ♦ description¶
str, optional, default:''description
- ♦ frequencies¶
listoffloatobjects, default:[]frequency [Hz]
- ♦ amplitudes¶
listoffloatobjects, default:[]amplitude [input untits/output units]
- ♦ phases¶
listoffloatobjects, default:[]phase delay [degrees]
- ♦ comments¶
listofstrobjects, default:[]
- class GEN2Data(**kwargs)[source]¶
Bases:
BlockRepresentation of a data tuple in GEN2 section.
- ♦ corner¶
floatcorner frequency [Hz]
- ♦ slope¶
floatslope above corner [dB/decate]
- class GEN2(**kwargs)[source]¶
Bases:
StageRepresentation of a GEN2 line.
- ♦ calibration_factor¶
floatsystem sensitivity (m/count) at reference period (calibration_period)
- ♦ calibration_period¶
floatcalibration reference period [s]
- ♦ decimation¶
int, optionaldecimation
- ♦ correction¶
floatgroup correction applied [s]
- ♦ ncorners¶
intnumber of corners
- ♦ description¶
str, optional, default:''description
- ♦ corners¶
listoffloatobjects, default:[]corner frequencies [Hz]
- ♦ slopes¶
listoffloatobjects, default:[]slopes above corners [dB/decade]
- ♦ comments¶
listofstrobjects, default:[]
- class DIG2(**kwargs)[source]¶
Bases:
StageRepresentation of a DIG2 line.
- ♦ sensitivity¶
floatsensitivity [counts/input units]
- ♦ sample_rate¶
floatdigitizer sample rate [Hz]
- ♦ description¶
str, optional, default:''description
- ♦ comments¶
listofstrobjects, default:[]
- class SymmetryFlag(...) str[source]¶
Bases:
StringChoiceAny
strout of['A', 'B', 'C'].
- class FIR2Data(**kwargs)[source]¶
Bases:
BlockRepresentation of a line of coefficients in a FIR2 section.
- ♦ factors¶
listoffloatobjects, default:[]
- class FIR2(**kwargs)[source]¶
Bases:
StageRepresentation of a FIR2 line.
- ♦ gain¶
floatfilter gain (relative factor, not in dB)
- ♦ decimation¶
int, optionaldecimation
- ♦ correction¶
floatgroup correction applied [s]
- ♦ symmetry¶
str(SymmetryFlag)symmetry flag (A=asymmetric, B=symmetric (odd), C=symmetric (even))
- ♦ nfactors¶
intnumber of factors
- ♦ description¶
str, optional, default:''description
- ♦ comments¶
listofstrobjects, default:[]
- ♦ factors¶
listoffloatobjects, default:[]
- class Begin(**kwargs)[source]¶
Bases:
FreeFormatLineRepresentation of a BEGIN line.
- ♦ version¶
str, optional
- class MessageType(...) str[source]¶
Bases:
StringChoiceAny
strout of['REQUEST', 'DATA', 'SUBSCRIPTION'].
- class MsgType(**kwargs)[source]¶
Bases:
FreeFormatLineUndocumented.
- ♦ type¶
str(MessageType)
- class MsgID(**kwargs)[source]¶
Bases:
FreeFormatLineRepresentation of a MSG_ID line.
- ♦ msg_id_string¶
str
- ♦ msg_id_source¶
str, optional
- class RefID(**kwargs)[source]¶
Bases:
FreeFormatLineRepresentation of a REF_ID line.
- ♦ msg_id_string¶
str
- ♦ msg_id_source¶
str, optional
- ♦ sequence_number¶
int, optional
- ♦ total_number¶
int, optional
- class LogSection(**kwargs)[source]¶
Bases:
SectionRepresentation of a DATA_TYPE LOG section.
- ♦ lines¶
listofstrobjects, default:[]
- class ErrorLogSection(**kwargs)[source]¶
Bases:
LogSectionRepresentation of a DATA_TYPE ERROR_LOG section.
- class FTPLogSection(**kwargs)[source]¶
Bases:
SectionRepresentation of a DATA_TYPE FTP_LOG section.
- class WID2Section(**kwargs)[source]¶
Bases:
SectionRepresentation of a WID2/STA2/EID2/BEA2/DAT2/CHK2 group.
- class WaveformSection(**kwargs)[source]¶
Bases:
SectionRepresentation of a DATA_TYPE WAVEFORM line.
Any subsequent WID2/OUT2/DLY2 groups are handled as indepenent sections, so this type just serves as a dummy to read/write the DATA_TYPE WAVEFORM header.
- class NetworkSection(**kwargs)[source]¶
Bases:
TableSectionRepresentation of a DATA_TYPE NETWORK section.
- class StationSection(**kwargs)[source]¶
Bases:
TableSectionRepresentation of a DATA_TYPE STATION section.
- class ChannelSection(**kwargs)[source]¶
Bases:
TableSectionRepresentation of a DATA_TYPE CHANNEL section.
- class BeamSection(**kwargs)[source]¶
Bases:
SectionRepresentation of a DATA_TYPE BEAM section.
- ♦ parameters¶
listofBeamParametersobjects, default:[]
- class CAL2Section(**kwargs)[source]¶
Bases:
SectionRepresentation of a CAL2 + stages group in a response section.
- class ResponseSection(**kwargs)[source]¶
Bases:
SectionRepresentation of a DATA_TYPE RESPONSE line.
Any subsequent CAL2+stages groups are handled as indepenent sections, so this type just serves as a dummy to read/write the DATA_TYPE RESPONSE header.
- class OutageSection(**kwargs)[source]¶
Bases:
SectionRepresentation of a DATA_TYPE OUTAGE section.
- ♦ report_period¶
- class Origin(**kwargs)[source]¶
Bases:
BlockUndocumented.
- ♦ time¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)epicenter date and time
- ♦ time_fixed¶
str(pyrocko.guts.StringChoice), optionalfixed flag,
"f"if fixed origin time solution,Noneif not
- ♦ time_error¶
float, optionalorigin time error [seconds],
Noneif fixed origin time
- ♦ residual¶
float, optionalroot mean square of time residuals [seconds]
- ♦ lat¶
floatlatitude
- ♦ lon¶
floatlongitude
- ♦ lat_lon_fixed¶
str(pyrocko.guts.StringChoice), optionalfixed flag,
"f"if fixed epicenter solution,Noneif not
- ♦ ellipse_semi_major_axis¶
float, optionalsemi-major axis of 90% c. i. ellipse or its estimate [m],
Noneif fixed
- ♦ ellipse_semi_minor_axis¶
float, optionalsemi-minor axis of 90% c. i. ellipse or its estimate [m],
Noneif fixed
- ♦ ellipse_strike¶
float, optionalstrike of 90% c. i. ellipse [0-360],
Noneif fixed
- ♦ depth¶
floatdepth [m]
- ♦ depth_fixed¶
str(pyrocko.guts.StringChoice), optionalfixed flag,
"f"fixed depth station, “d” depth phases,Noneif not fixed depth
- ♦ depth_error¶
float, optionaldepth error [m], 90% c. i.,
Noneif fixed depth
- ♦ nphases¶
int, optionalnumber of defining phases
- ♦ nstations¶
int, optionalnumber of defining stations
- ♦ azimuthal_gap¶
float, optionalgap in azimuth coverage [deg]
- ♦ distance_min¶
float, optionaldistance to closest station [deg]
- ♦ distance_max¶
float, optionaldistance to furthest station [deg]
- ♦ analysis_type¶
str(pyrocko.guts.StringChoice), optionalanalysis type,
"a"automatic,"m"manual,"g"guess
- ♦ location_method¶
str(pyrocko.guts.StringChoice), optionallocation method,
"i"inversion,"p"pattern,"g"ground truth,"o"other
- ♦ event_type¶
str(pyrocko.guts.StringChoice), optionalevent type,
"de"??,"fe"??,"ke"known earthquake,"ki"known induced event,"km"known mine explosion,"kn"known nuclear explosion,"kr"known rockburst,"kx"known experimental explosion,"ls"landslide,"se"suspected earthquake,"si"suspected induced event,"sm"suspected mine explosion,"sn"suspected nuclear explosion,"sr"suspected rockburst,"sx"suspected experimental explosion,"uk"unknown
- ♦ author¶
strauthor of the origin
- ♦ origin_id¶
strorigin identification
- class OriginSection(**kwargs)[source]¶
Bases:
TableSectionUndocumented.
- class EventSection(**kwargs)[source]¶
Bases:
SectionGroups Event, Arrival, …
- ♦ event_title¶
- ♦ origin_section¶
- class EventsSection(**kwargs)[source]¶
Bases:
SectionRepresentation of a DATA_TYPE EVENT section.
- ♦ bulletin_title¶
- ♦ event_sections¶
listofEventSectionobjects, default:[]
- class BulletinSection(**kwargs)[source]¶
Bases:
EventsSectionRepresentation of a DATA_TYPE BULLETIN section.
- class MessageHeader(**kwargs)[source]¶
Bases:
SectionRepresentation of a BEGIN/MSG_TYPE/MSG_ID/REF_ID group.
- ♦ version¶
str
- ♦ type¶
str
- class TimeStamp(**kwargs)[source]¶
Bases:
FreeFormatLineRepresentation of a TIME_STAMP line.
- ♦ value¶
pyrocko.util.get_time_float (
pyrocko.guts.Timestamp)
- class Stop(**kwargs)[source]¶
Bases:
FreeFormatLineRepresentation of a STOP line.
- ♦ dummy¶
str, optional
- class XW01(**kwargs)[source]¶
Bases:
FreeFormatLineRepresentation of a XW01 line (which is a relict from GSE1).
- ♦ dummy¶
str, optional
- iload_filename(filename, **kwargs)¶
Read IMS/GSE2 information from named file.
- iload_dirname(dirname, **kwargs)¶
Read IMS/GSE2 information from directory of IMS/GSE2 files.
- iload_glob(pattern, **kwargs)¶
Read IMS/GSE2 information from files matching a glob pattern.
- iload(source, **kwargs)¶
Load IMS/GSE2 information from given source(s)
The
sourcecan be specified as the name of a IMS/GSE2 file, the name of a directory containing IMS/GSE2 files, a glob pattern of IMS/GSE2 files, an open filehandle or an iterator yielding any of the forementioned sources.This function behaves as a generator yielding
Sectionobjects.