Skip to content

Intraocular pressure IOP measurement with Goldmann applanation tonometry simulation

Notifications You must be signed in to change notification settings

ryerrabelli/TonometrySimulation

Repository files navigation

App

Installation

To be written***

File Structure

Standard file structure for python packages as follows:

  • <main folder name>
    • docs/
    • src/ <- dedicated src is not always done but recommended for compatibility
      • <module_name> <- often the same name as the main folder, but should be a subfolder
        • __init__.py <- an empty file can be all that's needed at times. However, importing items here can be useful as they will be accessible to any file that is importing the overall module
        • _version.py <- autogenerated by versioneer using info from setup.cfg 1
        • main.py <- entry point file to be run
        • utils.py
        • <any other python files>
    • versioneer.py <- must be here in the top level folder 1
    • setup.py <- must be here in the top level folder 2
    • setup.cfg <- must be here in the top level folder 2
    • requirements.txt <- must be here in the top level folder 3
    • MANIFEST.in <- not strictly required
    • build/ <- optional
    • data/ <- optional, can include .csv, .jpg, etc files for the code to access
    • dist/ <- optional, would usually contain .egg, .whl, .tar.gz, etc files
    • examples/ <- optional
    • lib/ <- optional
    • scripts/ <- optional, would contain .sh files in linux/mac
    • tests/ <- optional, would contain python flies

Project Structure References

  1. https://github.com/yngvem/python-project-structure
  2. https://github.com/johnthagen/python-blueprint#project-structure

Usage

Run src/<module_name>/main.py with python

Tested OS and History Details

  • Tested primarily on/with
    • Mac OS X - 10.14 Mojave (on a 2018 Macbook pro with 16GB of Ram)
    • Windows 11 (on a Microsoft Surface Laptop 2 with 8GB of Ram)
    • python 3.6-3.9 derived from anaconda
    • PyCharm

License

See LICENSE.txt

Author & Contact info

Rahul S. Yerrabelli

Service URL
GitHub https://github.com/ryerrabelli/
ORCID https://orcid.org/0000-0002-7670-9601
Google Scholar https://scholar.google.com/citations?user=pEvGRdkAAAAJ
LinkedIn https://www.linkedin.com/in/ryerrabelli
Email Email addresses as an image to prevent spam

Table generated using https://www.tablesgenerator.com/markdown_tables

Footnotes

  1. Unlike versioneer.py, the file _version.py does not have to be inside the top level folder. I prefer putting it within src/<module>/ so that it does not clutter the top level directory and so that is more easily accessible within the project. For this to work, setup.cfg should be updated so that the versioneer arguments are set to the file path src/<module>/, which is where I recommend putting _version.py. 2

  2. Some applications use only one- a setup.py or setup.cfg, but versioneer prefers both. 2

  3. Can be autogenerated by PyCharm. Will not be blank as must have versioneer at least.

About

Intraocular pressure IOP measurement with Goldmann applanation tonometry simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published