Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • integrator integrator
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure 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
  • integratorintegrator
  • Issues
  • #5
Closed
Open
Issue created Aug 24, 2021 by Pierre Paleo@paleoOwner

Support sub-volume averaging

In intrange, when the parameter avexy is set to True, the current stack is averaged along "z" axis and the resulting image undergoes the AI. So, we end up with one curve instead of N_z.

aveim = np.average(fil[self.arraypath][()], axis=0)
xye = self.ai.integrate1d_legacy(
    aveim, self.args.npt, unit=self.args.unit,
    polarization_factor=1.0,
    correctSolidAngle=False,
    azimuth_range=self.azims[w],
    error_model=self.args.error,
    method=self.aimethod
)
Assignee
Assign to
Time tracking