Skip to content
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

WIP: CREATE PH5 without trace. For Developer's Use only #515

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

damhuonglan
Copy link
Contributor

This PR is NOT for MERGING.

What does this PR do?

This PR purpose is for developer to create PH5 without trace for unittest and reduce the size of master file.

How to use tools?

If there are no segd files

Prepare kef file

  • Create experiment.kef:
    tabletokef -n master.ph5 -E -o experiment.kef
  • Create array.kef for Array_t_001, station 1101:
    tabletokef -n master.ph5 -A 1 -s 1101 -o array1_sta1101.kef
  • Create index.kef for minifile miniPH5_00001.ph5:
    tabletokef -n master.ph5 -I -m 1 -o index_mini1.kef
  • Create das.kef for das 1X1101:
    tabletokef -n master.ph5 -D 1101 -o das1x1101.kef

Create ph5 file for testing only

initialize_ph5 -n master.ph5
keftoph5 -n master.ph5 -k experiment.kef
keftoph5 -n master.ph5 -k array1_sta1101.kef
keftoph5 -n master.ph5 -k index_mini1.kef
keftoph5 -n master.ph5 -k das1x1101.kef -m 1

If there are segd files

segdtoph5 -n master.ph5 -f segd.list -N

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant