User Tools

Site Tools


ideas_page

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ideas_page [2017/02/03 11:17]
wkerzend [Unit-Testing the Plasma Module]
ideas_page [2017/02/09 15:00] (current)
unoebauer [Handling nuclear decay in TARDIS]
Line 73: Line 73:
 **Description:​** ​ **Description:​** ​
  
-One important piece of TARDIS is the calculation of the plasma state. That means that it is also crucial to ensure that the results from these calculations do not change unexpectedly. ​But we sometimes introduce changes that do affect ​the result in an expected way. This requires us to change ​the values that the test checks against in a controlled way. This project aims at making it easy for us to generate ​"​reference"​ data and update ​this reference ​data+One important piece of TARDIS is the calculation of the plasma state. That means that it is also crucial to ensure that the results from these calculations do not change unexpectedly. ​For this purpose ​we use unit tests of isolated parts of the plasma state calculations and compare the results ​to pre-computed reference data. Naturally, whenever we improve, expand or alter the implemented physics underlying ​the calculation,​ we have to also modify the reference data. This project aims at making it easy for us to generate and update reference ​and to automate this process
  
  
-**Your first objective if you choose to accept the mission:​** ​+**Your first objective if you choose to accept the mission:​** ​Look at the function '​test_partition_function.py'​ and try to replace the comparison values there and replace them with one loaded from a file. 
  
 ---- ----
Line 90: Line 90:
 **Programming skills:** Python **Programming skills:** Python
  
-**Related TEP:** [[https://​github.com/​tardis-sn/​tep/​blob/​master/​tep014_model_from_file.rst|TEP014]]+**Related TEP:** [[https://​github.com/​tardis-sn/​tep/​blob/​a1661c6b508b5aed341a2627e03a7ad9c3942f12/​tep014_model_from_file.rst|TEP014]]
  
 **GSoC Application Tag:** reading simulation **GSoC Application Tag:** reading simulation
Line 113: Line 113:
 **Mentors:​** @lukeshingles,​ @shaching **Mentors:​** @lukeshingles,​ @shaching
  
-**Programming skills**: Python, Parsing, Databases ​(SQLAlchemy ​experience would be great)+**Programming skills**: Python, Parsing, DatabasesSQLAlchemy
  
 **Related TEP:** [[https://​github.com/​tardis-sn/​tep/​blob/​master/​TEP004_tardisatomic_restructure.rst|TEP004]] **Related TEP:** [[https://​github.com/​tardis-sn/​tep/​blob/​master/​TEP004_tardisatomic_restructure.rst|TEP004]]
Line 127: Line 127:
 For this project you would help us make parsers for a variety of formats from a collection of atomic data sources (see the TEP) and in the second part put this into a database. The assembled database will not only be very interesting for us, but also for many other fields of astronomy that do rely on atomic data. A useful resource of understanding atomic structure description can be found in http://​www.physics.byu.edu/​faculty/​bergeson/​physics571/​notes/​L27spectnotation.pdf. For this project you would help us make parsers for a variety of formats from a collection of atomic data sources (see the TEP) and in the second part put this into a database. The assembled database will not only be very interesting for us, but also for many other fields of astronomy that do rely on atomic data. A useful resource of understanding atomic structure description can be found in http://​www.physics.byu.edu/​faculty/​bergeson/​physics571/​notes/​L27spectnotation.pdf.
  
-**Your first objective if you choose to accept the mission:​** ​Write a download function to download ​the atomic weights and symbols and so on from this page  http://physics.nist.gov/cgi-bin/Compositions/stand_alone.pl?​ele=&​all=all&​ascii=html. Then build a simple sqlalchemy database with one table and put it in there. "Bonus objective":​ Write a parser for (http://kurucz.harvard.edu/atoms/​1401/​gf1401.gamusing pyparsing.+In GSoC 2016 we created a package that compiles all of this information into a database named Carsus (see http://​carsus.readthedocs.io/​en/​latest/​). For this year we aim to strengthen the link between Carsus and TARDIS and also include more atomic data into Carsus. 
 + 
 +**Your first objective if you choose to accept the mission:​** ​Use the script (https://github.com/tardis-sn/carsus-db/blob/master/scripts/create_hdfstore.pyto generate an HDF store - then implement a meta table in the HDF file that stores the units of the columns
  
 ---- ----
Line 135: Line 137:
 **Difficulty:​** Hard **Difficulty:​** Hard
  
-**Astronomy knowledge needed:** Medium+**Astronomy knowledge needed:** Medium/High
  
 **Mentors:​** @unoebauer, @chvogl **Mentors:​** @unoebauer, @chvogl
Line 188: Line 190:
  
  
-**Your first objective if you choose to accept the mission:** Make a Pandas DataFrame with columns atomic_number,​ mass_number,​ mass - then use PYNE [[http://​pyne.io/​|PYNE]] to write a function that takes this table decays it for 100 days and returns a table with the decayed masses. ​+**Your first objective if you choose to accept the mission:** Make a Pandas DataFrame with columns atomic_number,​ mass_number,​ mass - then use [[http://​pyne.io/​|PYNE]] to write a function that takes this table decays it for 100 days and returns a table with the decayed masses. ​
  
  
ideas_page.1486117070.txt.gz · Last modified: 2017/02/03 11:17 by wkerzend