Skip to content

Parameter presets for improved user-friendliness #37

@jacione

Description

@jacione

Having some "preset" keys in the configuration files might make cohere more approachable for non-experts. For example, instead of

shrink_wrap_trigger = [1, 1]
shrink_wrap_type = "GAUSS"
shrink_wrap_threshold = 0.15
shrink_wrap_gauss_sigma = 1.0

you could just put

shrink_wrap_preset = "standard"

The config loader would see that, pull the relevant parameters from a dictionary, and save them into the configuration object and conf_rec (or whichever file they were in). That way, you could still open conf_rec and see all the actual parameters.

For the GUI, this would probably be best as a drop-down menu. When a preset is selected, it would trigger the relevant input boxes to update with the values from that preset.

As usual, I'm happy to tack this onto the list of things I might eventually get to.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions