currently we map the pattern type from the protocol key to a predefined dict PATTERN_MILLING_MAP, but this makes adding new protocol keys required editing the code
instead we should just add the pattern type to the protocol, and get it from there.
wouldnt have to add to the code dictionary then.
should also take the opportunity to refactor FibsemPattern, and FibsemPatternSettings (rename mainly)
currently we map the pattern type from the protocol key to a predefined dict PATTERN_MILLING_MAP, but this makes adding new protocol keys required editing the code instead we should just add the pattern type to the protocol, and get it from there. wouldnt have to add to the code dictionary then.
should also take the opportunity to refactor FibsemPattern, and FibsemPatternSettings (rename mainly)