Skip to content

replace progressbar with tqdm or astropy progressbar #170

@GiantMolecularCloud

Description

@GiantMolecularCloud

The current implementation of a progress bar generates way too much output when calculating dendrograms for a fairly standard cube (~1000x1000x100). In Terminals this is not so much of an issue (depending on the history settings) but in Jupyter it is: There are so many lines generated that the browser displaying jupyter runs out of memory and halts the browser tab.

The progress bar implementations in astropy or tqdm are much better here since they overwrite the current line. They also provide a more or less accurate extrapolation of the run time.

Working demonstration of the replacement (but not full implementation) in GiantMolecularCloud/astrodendro

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