Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • nxtomomill nxtomomill
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • tomotools
  • nxtomomillnxtomomill
  • Merge requests
  • !29

Patch image key

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged payno requested to merge patch_image_key into master Oct 13, 2020
  • Overview 0
  • Commits 6
  • Pipelines 4
  • Changes 7

Propose option to modify image_key and image_key_control from:

  • a function: utils.change_image_key_control
  • command line: from patch-nx

INFO

example of usage:

# force frames 26 and 27 to be dark
nxtomomill patch-nx --update-to-dark 26:28 simple_case.h5 entry
# force frames 10, 13, 16 and 19 to be flatfield
nxtomomill patch-nx --update-to-flat 10:20:3 simple_case.h5 entry
# force frame 0, 1 and to 4 to be projections
nxtomomill patch-nx --update-to-proj 0,1,4 simple_case.h5 entry
# force first frame to be alignment projection
nxtomomill patch-nx --update-to-alignment 0 simple_case.h5 entry
# force all frames to be invalid
nxtomomill patch-nx --invalid-frames : simple_case.h5 entry
Edited Oct 13, 2020 by payno
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: patch_image_key