Skip to content

Save Focal Gain LUT into a data file (json, csv, etc.) to make the source code file shorter. #448

@peterhollender

Description

@peterhollender

Totally optional but consider saving the lookup table into a data file (json, csv, etc.) to make the source code file shorter.

If you chose to do that:

  • you would read the file here using importlib.resources to locate it
  • you would ensure it's bundled int he install by adding it to the [tool.setuptools.package-data] section. in case hatchling doesn't bnundle it automatically

Originally posted by @ebrahimebrahim in #443 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions