User:Saheb: Difference between revisions
No edit summary |
|||
| Line 6: | Line 6: | ||
I am currently working on implementing the feature of Adding 'smart' default units of measurement in the PyGTK GUI({{bug|429}}). This bug comes under [[Student_Projects#GUI improvements]]. | I am currently working on implementing the feature of Adding 'smart' default units of measurement in the PyGTK GUI({{bug|429}}). This bug comes under [[Student_Projects#GUI improvements]]. | ||
== Idea == | |||
Present: If there are no preferred units, what is used is base SI dimensions and my task is to display smart intuitive units in place of SI dimensions( i.e. N in place of kg*m/s^2). I will use the units present after the Default value in Default statements for instance in force DEFAULT defvalue{N}, and so will have to store the braced text while parsing through it. So the hierarchy after the feature gets implemented will be: | |||
1) User Defined Units. | |||
2) Preferred Units if present in ascend.ini. | |||
3) Smart Intuitive Default Units. | |||
4) Base Dimensions. | |||
'''Tasks''' | '''Tasks''' | ||
Revision as of 10:51, 18 March 2012
I am an undergraduate student from Dhirubhai Ambani Institute of Information and Communication Technology(DA-IICT),Gandhinagar,Gujarat,India.
Code branch: saheb:
Present Goal
I am currently working on implementing the feature of Adding 'smart' default units of measurement in the PyGTK GUI(bug 429). This bug comes under Student_Projects#GUI improvements.
Idea
Present: If there are no preferred units, what is used is base SI dimensions and my task is to display smart intuitive units in place of SI dimensions( i.e. N in place of kg*m/s^2). I will use the units present after the Default value in Default statements for instance in force DEFAULT defvalue{N}, and so will have to store the braced text while parsing through it. So the hierarchy after the feature gets implemented will be:
1) User Defined Units. 2) Preferred Units if present in ascend.ini. 3) Smart Intuitive Default Units. 4) Base Dimensions.
Tasks
- Understanding the working of various layers involved.
- Modify the C Layer code and modify the typedesc struct to get default unit included in it.
- Write a CUnit Code to test the initial modification of C layer code.
- Understand the C++ wrapping and SWIG tool.
- Write C++ functions to get the default unit and then pass it to the PyGTK layer.
- Modify test.py to test the final feature.