jsherfey / dnsim

Dynamic Neural Simulator - a modular modeling tool for large ODE systems.
3 stars 3 forks source link

Consolidate mechanism naming convention #4

Open asoplata opened 9 years ago

asoplata commented 9 years ago

Action: The current naming convention for mechanisms is to use the name of it in the ORIGINAL model that it is inherited from. E.g., if we have (Sherfey, 1996)'s "iNa" current implemented, it will be in dnsim/database/iNa.txt rather than whatever naming convention we so choose. I believe we should include the previous implementation's name in a comment in the file, but we should name all mechanisms according to an agreed-upon scheme. I'm open to ideas about the scheme itself.

Reason: This prevents duplicates (including "different-case duplicates" as exist now, which interfere with Dropbox) and makes the list of mechanisms more clear/explanatory.

asoplata commented 9 years ago

This entry is about the unique-ifying part of a mechanism's name, so for a given mechanism iNa I'm trying to figure out/discuss iNa_<unique identifier>

Suggestions for overall naming scheme:

asoplata commented 9 years ago

This entry is about the "core" part of a mechanism's name, so for a given mechanism iNa_<unique identifier> I'm trying to figure out/discuss how to name the iNa part.

asoplata commented 9 years ago

Additionally, is there reason to or not to use the a similar name to the filename in the "interface" part of the current? E.g. for mechanism iK_TC_C10_001.txt, is there reason to or not to give it the interface current => IK_TC_C10_001(V,<args>)? where the 'i' is made into an uppercase 'I', but other than that the name is the same as the defining filename?

One reason I can think to do this is to avoid confusion when a single cell/compartment might have multiple of a similarly-named current, like iKs or something. If we used the longer filename, then this would solve the problem.

asoplata commented 9 years ago
- Mechanism standards
    - mechanism groups
        - toolbox (/dnsim/examples - with tutorials on github wiki; /dnsim/database)
        - infinitebrain.org
        - personal projects
    - files/names
        - directory hierarchy
            - directories: Field => (intrinsic, connection) => Context => [files]
            - Field = "neuroscience", ...
        - naming conventions
            - file names: `<MechName>_<###>_<Descriptor>` (eg, naf_001_tc)
            - Need aliases to standardize names
                - currents: `h = (h,AR), ks = (M,ks)`
                - cells: `RE = (RE,nRT,TRN)`
            - eg, `/dnsim/database/neuroscience/intrinsic/HH/naf_001_tc`
    - comments to provide
        - references to papers
        - variable names used in paper
        - units