cratepy.ioput.readprocedures.decode_increm_spec

decode_increm_spec(spec, load_time_factor)[source]

Decode macroscale loading increment specification.

A macroscale loading increment specification has the format [n_rep:] inc_load_fact[_inc_time] where n_rep (int) is the number of increment repetitions (optional, defaults to 1), inc_load_fact is the incremental load factor, and inc_time is the incremental time (optional, defaults to loading time factor times the absolute value of the incremental load factor).


Parameters:
  • spec (str) – Macroscale loading increment specification.

  • load_time_factor (float) – Loading time factor.

Returns:

  • n_rep (int) – Number of increment repetitions.

  • inc_lfact (float) – Incremental load factor.

  • inc_time (float) – Incremental time.