Skip to content

Optimize chunks splitting based on number of corresponding photons #283

@dachengx

Description

@dachengx

If we still do not allow re-chunking of simulation results,

rechunk_on_save = False

a more optimized way is to set the number of tolerable quanta, especially electrons. Interaction with 1 electron and 1E6 electron takes the different sizes of chunks in higher data_type, e.g. propagated_s2_photons.

We have two ways to solve this:

  1. For ChunkCsvInput, deduce roughly the size of the tolerable quanta; for ChunkInput, deduce roughly the size of the tolerable energy deposition in higher data_type.
    chunk_idx = dynamic_chunking(
  2. Allow re-chunking in higher data_type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions