-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parallelize StreamInterface
#64
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastics, thanks!
scripts/tasks.py
Outdated
@@ -90,3 +91,18 @@ def index(config): | |||
logger.debug(f'Generating indexing executable for run {setup.run} of {setup.exp}...') | |||
indexer_obj.write_exe() | |||
logger.info(f'Executable written to {indexer_obj.tmp_exe}') | |||
|
|||
def analyze_sample(config): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe something more specific, like stream_analysis
?
tutorial/mfxlv4920.yaml
Outdated
@@ -39,3 +39,5 @@ index: | |||
multi: True | |||
profile: True | |||
|
|||
analyze_sample: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ditto
Thanks for the suggested nomenclature! In addition to renaming |
The
StreamInterface
class has been parallelized so that the input stream files (prior to merging) for a given sample (indicated by tag) are distributed across the available nodes during file reading. The contents of all the stream files are merged into the self variablestream_data
, and the contents can be visualized in a peakogram or cell_explorer style plot. The latter can be generated as follows, for instance:Omitting the
--cell_only
flag will cause the peakogram to be generated as well.A task has been added that can be run from the command line for example as follows:
$ . elog_submit.sh -c ../tutorial/mfxlv4920.yaml -t analyze_sample -n 3
and the mfxlv4920.yaml has been updated accordingly.