Skip to main content
Ctrl+K

ewokstomo 0.9.2

  • Explanation
  • How-to guides
  • Tutorials
  • References
  • gitlab
  • pypi
  • Explanation
  • How-to guides
  • Tutorials
  • References
  • gitlab
  • pypi

Section Navigation

  • Tasks
  • Command-line usage
  • API documentation
    • ewokstomo
      • ewokstomo.tasks
        • ewokstomo.tasks.buildgallery
        • ewokstomo.tasks.convert_volume
        • ewokstomo.tasks.dataportalupload
        • ewokstomo.tasks.energycalculation
        • ewokstomo.tasks.linkresults
        • ewokstomo.tasks.nxtomo_utils
        • ewokstomo.tasks.nxtomomill
        • ewokstomo.tasks.online
        • ewokstomo.tasks.reconstruct_slice
        • ewokstomo.tasks.reconstruct_volume
        • ewokstomo.tasks.reducedarkflat
        • ewokstomo.tasks.tomobasictonxtomo
        • ewokstomo.tasks.utils
      • ewokstomo.tests
        • ewokstomo.tests.online
        • ewokstomo.tests.test_convertvolume
        • ewokstomo.tests.test_dataportalupload
        • ewokstomo.tests.test_energycalculation
        • ewokstomo.tests.test_gallery
        • ewokstomo.tests.test_linkresults
        • ewokstomo.tests.test_nxtomomill
        • ewokstomo.tests.test_reconstructslice
        • ewokstomo.tests.test_reconstructvolume
        • ewokstomo.tests.test_reducedarkflat
        • ewokstomo.tests.test_tomobasictonxtomo
        • ewokstomo.tests.test_utils
      • ewokstomo.workflows
  • Developer guide
  • Release notes
  • References
  • API documentation
  • ewokstomo
  • ewokstomo.tests
  • ewokstomo.tests.test_energycalculation

ewokstomo.tests.test_energycalculation#

Functions

test_apply_attenuators_missing_flux_sentinel()

test_apply_attenuators_respects_order_duplicates()

test_apply_attenuators_without_flux()

test_canonical_compound_name_strips_and_lowercases()

test_compute_bm_spectrum_sorts_outputs(...)

test_compute_bm_spectrum_validates_inputs(...)

test_compute_wiggler_spectrum_sorts_and_uses_defaults(...)

test_is_missing_data_detects_runtime_free_sentinel()

test_resolve_mu_density_compound_parser_defaults_to_unit_density()

test_resolve_mu_density_compound_uses_alias()

test_resolve_mu_density_element_auto_density()

test_resolve_mu_density_unknown_material_raises()

test_spectrum_stats_mean_and_peak()

test_spectrum_stats_no_valid_entries()

test_spectrum_stats_requires_matching_shapes()

test_transmission_handles_zero_thickness()

previous

ewokstomo.tests.test_dataportalupload.test_validation_errors_log_warning_and_no_dryrun

next

ewokstomo.tests.test_energycalculation.test_apply_attenuators_missing_flux_sentinel

Show Source

© Copyright 2025-2026, ESRF.

ewokstomo