Access to the heat capacity modeling REST API provided by making POST or PUT requests to https://lmds.liverpool.ac.uk/heat_capacity/API with JSON fitting the following schema:

> >
Argument Type Description
Debye_components List of lists A list Debye components, each represented as a list where the first element is the temperature and the second is the prefactor e.g. [[20,0.5],[100,0.3]] is two Debye components at 20 and 100 degrees Kelvin with prefactors of 0.5 amd 0.3 repectively
Einstein_components List of lists List of Einstein components laid out in the same way as Debye components
linear_component Float &pgr the linear component
start_temp Float Temperature at which to start modeling in Kelvin (note: this is not well defined below ~1.6 K)
end_temp Float Temperature at which to finish modeling
exponent Float or Int (optional, default 1) Data is plotted as Cp/Tn (n = 0 for high T fitting, 3 for low T fitting), this field defines n
log_x "True" or "False" (optional, default False) Whether to log the x axis of the resulting plot
log_y "True" or "False" (optional, default False) Whether to log the y axis of the resulting plot
input_data String or Hex File (optional) Data with which to model, either this field or data_file_name are required, if both are provided this field gets precedence
data_file_name String (optional) The name of the file already on the server which has been provided in a previous response. Files are deleted every 15 minutes

Assuming correct formatting results will be provided as a JSON in the following format:

Argument Type Description
uploaded_file String A key that can be returned to the server rather than uploading the data again. Data will be stored on the server for 15 minutes
image_file String The location of the created plot, these can be obtained by a GET request to this address
data_file String The location of the modeled data, these can be obtained by a GET request to this address

We store necessary cookies to make the site work. We'd also like to include a set of optional analytics cookies to give us further insight into how the website is being used. These will not be stored unless you enable them. Using this tool will store a cookie on your device to remember your preference.

Accept Reject