engineerjoe440 / ElectricPy

Electrical Engineering Formulas in Python
https://electricpy.readthedocs.io/en/latest/
MIT License
86 stars 16 forks source link

Add LM317 Formulas #71

Closed engineerjoe440 closed 2 years ago

engineerjoe440 commented 2 years ago

Would be helpful to add some of the LM317 formulas that are defined at BasicTables

khan-asfi-reza commented 2 years ago

In which module/file you want this formula to be in? I would like to work on this

engineerjoe440 commented 2 years ago

Hmm.... this is a good question.

I think we might someday look at combining some stuff to an "ic" module, but naming is... well... we're engineers. Has naming things ever really been our strong suit? :stuck_out_tongue:

For now, let's just stick them in the __init__.py file, unless you've got a good idea for the name of a module to place them in? Something that could also contain things like the 555-timer functions, etc.

Thank you! :heart:

khan-asfi-reza commented 2 years ago

How about keeping these sorts of formulas in a file called formula.py

engineerjoe440 commented 2 years ago

Hmm... Not quite sure about formula.py only because I'm thinking we'd want to group the integrated circuit components together as a single module. So I don't think "formula" helps to make that grouping clear.

khan-asfi-reza commented 2 years ago

Okay then keeping it in __init__.py