Skip to content

Refactor dedicated modules model.py #57

@cmp0xff

Description

@cmp0xff
          If we are moving initial conditions to a dedicated module, let's also move the following lines to a dedicated module (maybe `model.py` or something).

I feel most people won't look into __init__.py unless it is related to __all__.
Maybe we only do imports in __init__.py. Something like

from hamilflow.models.harmonic_oscillator.model import SimpleHarmonicOscillator, DampdHamonicOscillator


__all__ = ["SimpleHarmonicOscillator", "DampdHamonicOscillator"]

Originally posted by @emptymalei in #54 (comment)

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