cratepy.ioput.readprocedures.readtypeBkeyword

readtypeBkeyword(file, file_path, keyword)[source]

Read keyword of specification type B.

The keyword specification of type B is associated with a positive float-valued keyword and has the following input data file syntax:

< keyword >
< float >

Parameters:
  • file (file) – Data file.

  • file_path (str) – Data file path.

  • keyword (str) – Keyword.

Returns:

keyword_value – Keyword value.

Return type:

float