Adding and Manipulating Data ============================ The code pipeline is designed to be easily scaleable, thus, incorporation of new measurements, or new materials is natively built in. To do so, follow the outline steps: #. Make a branch or local copy of this repository #. Navigate to: ``~/thermal_conductivity/lib/`` #. Create a new folder with the same name of the material you wish to add (the name of the folder is crucial as it is also how that material will be referenced). #. Within that folder create a new folder within which to store the raw data. (I recommend naming it 'RAW', though theoretically, this is not a requirement) #. Within this 'RAW' folder, paste the relevant measurement .csv files (the data MUST be in csv format otherwise the code will not be able to find it). Each .csv data file must be of the format shown below, see one of the existing materials for more examples. Note, make sure there are no commas present in the reference information otherwise python will be unable to parse the comma delimited file. #. Once the data is added, the material instance should be updated so that its fit can be recalculated. More information on this can be found on the ``Update`` page. .. list-table:: Raw Data Table format :widths: 25 25 50 :header-rows: 2 * - TITLE OF REFERENCE - AUTHORS (separated by non-comma delimiter) - REFERENCE SOURCE * - **T (K)** - **k (W/m-K)** - **k/T** * - 293 - 14.31 - 0.0488 * - 300 - 14.43 - 0.0481 * - 320 - 14.75 - 0.0461