@staticmethod<EOL><INDENT>def _analyse_mat_sections(sections):<DEDENT>
icru_numbers = []<EOL>for section in sections:<EOL><INDENT>load_present = False<EOL>load_value = False<EOL>icru_value = False<EOL>for e in section:<EOL><INDENT>split_line = e.split()<EOL>if "<STR_LIT>" in e:<EOL><INDENT>load_present = True<EOL>if len(split_line) > <NUM_LIT:1>:<EOL><INDENT>load_value = split_line[<NUM_LIT:1>] if "<STR_LIT:!>" not in split_line[<NUM_LIT:1>] else False  <EOL><DEDENT><DEDENT>elif "<STR_LIT>" in e and len(split_line) > <NUM_LIT:1>:<EOL><INDENT>icru_value = split_line[<NUM_LIT:1>] if "<STR_LIT:!>" not in split_line[<NUM_LIT:1>] else False  <EOL><DEDENT><DEDENT>if load_present:  <EOL><INDENT>if icru_value:  <EOL><INDENT>icru_numbers.append(icru_value)<EOL><DEDENT>elif load_value:  <EOL><INDENT>icru_numbers.append(load_value)<EOL><DEDENT><DEDENT><DEDENT>return icru_numbers<EOL>
Cases:
- ICRU flag present, LOADDEDX flag missing -> data loaded from some data hardcoded in SH12A binary,
no need to load external files
- ICRU flag present, LOADDEDX flag present -> data loaded from external files. ICRU number read from ICRU flag,
any number following LOADDEDX flag is ignored.
- ICRU flag missing, LOADDEDX flag present -> data loaded from external files. ICRU number read from LOADDEDX
- ICRU flag missing, LOADDEDX flag missing -> nothing happens