mstk.analyzer.vle.check_vle_density¶
- mstk.analyzer.vle.check_vle_density(series)¶
Check whether or not a density profile represents a vapor-liquid interface with canny edge method
- Parameters:
series (Series) – The density series along z axis. The index of the series is z coordinates
- Returns:
is_interface (bool) – Whether or not there is a vapor-liquid interface
is_center_gas (bool) – Whether or not the center region is gas phase
nodes (list of float) – The location of interfaces in z axis