Package gui :: Package components :: Module conversion
[hide private]
[frames] | no frames]

Module conversion

source code

Package for the different conversion tools used to bring together the GUI and API of relax.

Functions [hide private]
 
str_to_float(string)
Function to convert a float in a string object to a real float object.
source code

Imports: replace, strip, split


Function Details [hide private]

str_to_float(string)

source code 

Function to convert a float in a string object to a real float object.

such as: "3.5 * 1e6" to 3.5*1e6

Parameters:
  • string (str) - Float in string that will be converted to float object.