lnls-fac / code

Projects have been moved to new repositories
2 stars 4 forks source link

Make function names uniform #29

Closed afonsoharuo closed 9 years ago

afonsoharuo commented 9 years ago

In the optics module, we have getwiss and calctwiss, but get_rffrequency and so on. I suggest we follow a uniform convention. If you agree, which should we choose?

xresende commented 9 years ago

_getrffrequency just returns a simple attribute of Accelerator objects. It should become a property of the object (I think I already implemented it). This function should be deleted from optics.py. As for convention, I think we should follow gettwiss.

xresende commented 9 years ago

done so far.