Skip to content

Add flowchart to guide data analysis #7

@jsdodge

Description

@jsdodge

It could be helpful to include a flowchart like the one below to supplement the Template Fit as a guide for analysis. Wasn't able to get Mermaid to render math, but the "Chi-squared OK?" step could include $\chi^2 \approx \nu\pm\sqrt{2\nu}$ or a graphical depiction. The logical flow needs review and the diagram needs reformatting.

flowchart TD;
    id1([Data to analyze<br>🤔])-->
    id2(Choose model, initial parameters, errors, range)-->
    id3(Optimize fit)-->
    id4{Fit converges?}-- Yes -->
    id5{Fit OK by eye?}-- Yes -->
    id6{Chi-squared OK?}-- Yes -->
    id7{Residuals without patterns?}-- Yes -->
    id8([Success!<br>🥳])
    id4-- No -->
    id9{Fit good enough for intended purpose?}-- Yes -->
    id10([Good enough: move on!<br>😐])
    id9-- No -->
    id11([Revise model, initial guess, range])-->id3
    id5-- No -->id9
    id6-- No -->id9
    id7-- No -->id9
Loading

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions