<s> import sys <EOL> import os <EOL> import getopt <EOL> import math <EOL> from msct_parser import Parser <EOL> def main ( ) : <EOL> GYRO = float ( <NUM_LIT> * <NUM_LIT:10> ** <NUM_LIT:6> ) <EOL> gradamp = [ ] <EOL> bigdelta = [ ] <EOL> smalldelta = [ ] <EOL> parser = get_parser ( ) <EOL> arguments = parser . parse ( sys . argv [ <NUM_LIT:1> : ] ) <EOL> gradamp = arguments [ '<STR_LIT>' ] <EOL> bigdelta = arguments [ '<STR_LIT>' ] <EOL> smalldelta = arguments [ '<STR_LIT>' ] <EOL> print '<STR_LIT>' <EOL> print '<STR_LIT>' + str ( gradamp * <NUM_LIT:1000> ) + '<STR_LIT>' <EOL> print '<STR_LIT>' + str ( bigdelta * <NUM_LIT:1000> ) + '<STR_LIT>' <EOL> print '<STR_LIT>' + str ( smalldelta * <NUM_LIT:1000> ) + '<STR_LIT>' <EOL> print '<STR_LIT>' + str ( GYRO ) + '<STR_LIT>' <EOL> print '<STR_LIT>' <EOL> bvalue = ( <NUM_LIT:2> * math . pi * GYRO * gradamp * smalldelta ) ** <NUM_LIT:2> * ( bigdelta - smalldelta / <NUM_LIT:3> ) <EOL> print '<STR_LIT>' + str ( bvalue / <NUM_LIT:10> ** <NUM_LIT:6> ) + '<STR_LIT>' <EOL> return bvalue <EOL> def get_parser ( ) : <EOL> parser = Parser ( __file__ ) <EOL> parser . usage . set_description ( '<STR_LIT>' ) <EOL> parser . add_option ( name = "<STR_LIT>" , <EOL> type_value = "<STR_LIT:float>" , <EOL> description = "<STR_LIT>" , <EOL> mandatory = True , <EOL> example = '<STR_LIT>' ) <EOL> parser . add_option ( name = "<STR_LIT>" , <EOL> type_value = "<STR_LIT:float>" , <EOL> description = "<STR_LIT>" , <EOL> mandatory = True , <EOL> example = '<STR_LIT>' ) <EOL> parser . add_option ( name = "<STR_LIT>" , <EOL> type_value = "<STR_LIT:float>" , <EOL> description = "<STR_LIT>" , <EOL> mandatory = True , <EOL> example = '<STR_LIT>' ) <EOL> return parser <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> main ( ) </s>
