14.1.1. Top-Level Interfaces¶
14.1.1.1. mosaic.apps.SingleChannelAnalysis module¶
Top level module to run a single channel analysis.
- Created:
05/15/2014
- Author:
Arvind Balijepalli <arvind.balijepalli@nist.gov>
- License:
See LICENSE.TXT
- ChangeLog:
- class mosaic.apps.SingleChannelAnalysis.SingleChannelAnalysis(dataPath, trajDataHnd, dataFilterHnd, eventPartitionHnd, eventProcHnd, **kwargs)[source]¶
Bases:
object
Run a single channel analysis. This is the entry point class for the analysis.
- Parameters:
dataPath : full path to the data directory
trajDataHnd : a handle to an implementation of
metaTrajIO
dataFilterHnd : a handle to an impementation of
metaIOFilter
eventPartitionHnd : a handle to a sub-class of
metaEventPartition
eventProcHnd : a handle to a sub-class of
metaEventProcessor
dbFilename : explicitly set the database name (optional kwarg).
14.1.1.2. mosaic.apps.ConvertTrajIO module¶
Top level module to convert any data file readble by TrajIO objects into a comma separated value text file.
- Created:
10/13/2014
- Author:
Arvind Balijepalli <arvind.balijepalli@nist.gov>
- License:
See LICENSE.TXT
- ConvertTrajIO._filename()[source]¶
Return a output filename that contains the data file prefix and and the block index.
- ConvertTrajIO._creategenerator()[source]¶
Create a new filename generator if the file prefix has changed. The generator returns a filename incremented by a counter each time its next() function is called.
- class mosaic.apps.ConvertTrajIO.ConvertTrajIO(trajDataObj, outdir=None, extension='csv')[source]¶
Bases:
object
Convert data from a sub-class of metaTrajIO to either a delimited text file or binary file format.
- Parameters:
trajDataObj : a trajIO data object
outdir : the output directory. Default is None, which causes the output to be saved in the same directory as the input data.
extension : ‘csv’ for comma separated values (default), ‘tsv’ for tab separated values, or ‘bin’ for 64-bit double precision binary.