diff --git a/dev/IsothermData/index.html b/dev/IsothermData/index.html index 4cf243e..f68fffb 100644 --- a/dev/IsothermData/index.html +++ b/dev/IsothermData/index.html @@ -5,4 +5,4 @@ )

Container for all data relevant to isotherms.

Data specific to each component and step are organized in matrix format with columns representing components and rows representing steps i.e., with s -> step and c -> component:

    [ s1c1  s1c2  s1c3 ...
       s2c1  s2c2  s2c3 ...
       s3c1  s3c2  s3c3 ...
-      ...   ...   ...  ... ]

Inputs

Inputs can be vectors of vectors e.g., partial_pressures_mpa = [[component_1-step_1, component_1-step_2, ...], [component_2-step_1, component_2-step_2, ...], ...] Or, if only one component is present, only a vector e.g., [step_1, step_2, ...]

source + ... ... ... ... ]

Inputs

Inputs can be vectors of vectors e.g., partial_pressures_mpa = [[component_1-step_1, component_1-step_2, ...], [component_2-step_1, component_2-step_2, ...], ...] Or, if only one component is present, only a vector e.g., [step_1, step_2, ...]

source diff --git a/dev/TransientStepData/index.html b/dev/TransientStepData/index.html index 7c6dc0f..ec0a84e 100644 --- a/dev/TransientStepData/index.html +++ b/dev/TransientStepData/index.html @@ -1,2 +1,2 @@ -Transient Step Data · MembraneBase.jl

TransientStepData

What is it?

TransientStepData objects hold information pertaining to transient sorption steps. This is dimensionless data that describes the transition from one equilibrium to another (e.g., concentration, dilation, etc) as a function of time.

How do I make one?

MembraneBase.TransientStepDataType
TransientStepData(dataset)

Container for data concerning a single transient sorption step. I.e., a profile of mass concentration with time (starting from a previous equilibrium and generally reaching a new equilibrium) of some penetrant into an even film of polymer material, or more succinctly, a polymer slab.

Arguments

  • dataset: Should be some iterable with
    • the first item being an iterable of time data (in seconds)
    • the second item being an iterable of dimensionless sorption data (no units)
source

A number of functions exist to make your life easier with handling this data.

MembraneBase.resampleMethod
resample(transient::TransientStepData, num_datapoints, time_function)

Resample the data with some time_function spacing and linear interpolation between adjacent data points. Use this method when you have a ridiculous amount of data and need to slim it down while losing as little valuable information as possible.

Arguments

  • transient::TransientStepData: TransientStepData used to resample
  • num_datapoints::Integer: number of resampled data points to be in the resulting TransientStepData (should always be less than what you currently have)
  • time_function::Symbol: how to weigh the time data...
    • :Linear will have even spacing from t=0 to t=num_datapoints
    • :Root will sample along the root of time (more information about the initial behavior will be kept)
      • It is usually best to use :Root for most scenarios and :Linear for quick scenarios
    • :Log will sample along the log_10 of time (much more info about initial behavior will be kept)
      • Reserve Log for extremely long timescales (think: on the order of months or years, not days or weeks)

This function assumes that time data is sorted in ascending order

source
MembraneBase.datasetMethod

Get a Vector of data in the transient step in form of [(time, sorption)...]. Used primarily for bootstrap-like resampling techniques.

source
+Transient Step Data · MembraneBase.jl

TransientStepData

What is it?

TransientStepData objects hold information pertaining to transient sorption steps. This is dimensionless data that describes the transition from one equilibrium to another (e.g., concentration, dilation, etc) as a function of time.

How do I make one?

MembraneBase.TransientStepDataType
TransientStepData(dataset)

Container for data concerning a single transient sorption step. I.e., a profile of mass concentration with time (starting from a previous equilibrium and generally reaching a new equilibrium) of some penetrant into an even film of polymer material, or more succinctly, a polymer slab.

Arguments

  • dataset: Should be some iterable with
    • the first item being an iterable of time data (in seconds)
    • the second item being an iterable of dimensionless sorption data (no units)
source

A number of functions exist to make your life easier with handling this data.

MembraneBase.resampleMethod
resample(transient::TransientStepData, num_datapoints, time_function)

Resample the data with some time_function spacing and linear interpolation between adjacent data points. Use this method when you have a ridiculous amount of data and need to slim it down while losing as little valuable information as possible.

Arguments

  • transient::TransientStepData: TransientStepData used to resample
  • num_datapoints::Integer: number of resampled data points to be in the resulting TransientStepData (should always be less than what you currently have)
  • time_function::Symbol: how to weigh the time data...
    • :Linear will have even spacing from t=0 to t=num_datapoints
    • :Root will sample along the root of time (more information about the initial behavior will be kept)
      • It is usually best to use :Root for most scenarios and :Linear for quick scenarios
    • :Log will sample along the log_10 of time (much more info about initial behavior will be kept)
      • Reserve Log for extremely long timescales (think: on the order of months or years, not days or weeks)

This function assumes that time data is sorted in ascending order

source
MembraneBase.datasetMethod

Get a Vector of data in the transient step in form of [(time, sorption)...]. Used primarily for bootstrap-like resampling techniques.

source
diff --git a/dev/index.html b/dev/index.html index 4c7777c..dc6120d 100644 --- a/dev/index.html +++ b/dev/index.html @@ -1,2 +1,2 @@ -Home · MembraneBase.jl
+Home · MembraneBase.jl
diff --git a/dev/search/index.html b/dev/search/index.html index ab991dd..112337d 100644 --- a/dev/search/index.html +++ b/dev/search/index.html @@ -1,2 +1,2 @@ -Search · MembraneBase.jl

Loading search...

    +Search · MembraneBase.jl

    Loading search...