Is it possible to run a calculation on a single sample rather than a pandas dataframe? I'd like to use PySulfSat in some code I am working on, in which an SCSS calculation is called periodically by other routines. Unless I am mistaken, the current implementation of PySulfSat would require that I put my sample composition into an appropriately styled pandas dataframe each time I want to do an SCSS calculation, which is a bit cumbersome. Is there a current implementation for single samples that I missed?
If the answer is that you must use a dataframe, is there a danger or loss of functionality passing in a self-made dataframe rather than importing a file (e.g., does the import of a file create an object that has other attributes)?
Is it possible to run a calculation on a single sample rather than a pandas dataframe? I'd like to use PySulfSat in some code I am working on, in which an SCSS calculation is called periodically by other routines. Unless I am mistaken, the current implementation of PySulfSat would require that I put my sample composition into an appropriately styled pandas dataframe each time I want to do an SCSS calculation, which is a bit cumbersome. Is there a current implementation for single samples that I missed?
If the answer is that you must use a dataframe, is there a danger or loss of functionality passing in a self-made dataframe rather than importing a file (e.g., does the import of a file create an object that has other attributes)?