<commit_before>#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) 2010 <NAME> (http://www.jdhp.org)

import sys
import os
import shutil
import getopt

from pyarm import fig
from pyarm import clock as clock_mod

VERSION = "0.1.3"

def usage():
    """Print help message"""

    print '''A robotic arm model and simulator.

Usage: ./pyarm [-m MUSCLE] [-a ARM] [-A AGENT] [-g GUI] [-d DELTA_TIME] [-D GUI_DELTA_TIME] [-s] [-l]
    
Options:
    -m, --muscle
        the muscle model to use (kambara, mitrovic, li or none)

    -a, --arm
        the arm model to use (kambara, mitrovic, li or sagittal)

    -A, --agent
        the agent to use (oscillator, random, filereader, sigmoid, heaviside,
        ilqg, none)

    -g, --gui
        the graphical user interface to use (tk, gtk, none)

    -d, --deltatime
        timestep value in second (should be near to 0.005 seconds)
        realtime simulation (eg. framerate dependant simulation) is set if this
        option is omitted

    -D, --guideltatime
        set the interval between two display in milliseconds (default = 0.04)

    -s, --screencast
        make a screencast

    -f, --figures
        save matplotlib figures

    -l, --log
        save numeric values (accelerations, velocities, angles, ...) into a
        file

    -u, --unbounded
        set unbounded joint angles

    -v, --version
        output version information and exit

    -h, --help
        display this help and exit

Examples:
    pyarm -f -l -m mitrovic -d 0.005 -A sigmoid
<commit_msg>Update --help message<commit_after>#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) 2010 <NAME> (http://www.jdhp.org)

import sys
import os
import shutil
import getopt

from pyarm import fig
from pyarm import clock as clock_mod

VERSION = "0.1.3"

def usage():
    """Print help message"""

    print '''A robotic arm model and simulator.

Usage: pyarm [OPTION]...
    
Options:
    -m, --muscle=MUSCLE
        the muscle model to use (kambara, mitrovic, li or none)

    -a, --arm=ARM
        the arm model to use (kambara, mitrovic, li or sagittal)

    -A, --agent=AGENT
        the agent to use (oscillator, random, filereader, sigmoid, heaviside,
        ilqg, none)

    -g, --gui=GUI
        the graphical user interface to use (tk, gtk, none)

    -d, --deltatime=DELTA_TIME
        timestep value in second (should be near to 0.005 seconds)
        realtime simulation (eg. framerate dependant simulation) is set if this
        option is omitted

    -D, --guideltatime=GUI_DELTA_TIME
        set the interval between two display in milliseconds (default = 0.04)

    -s, --screencast
        make a screencast

    -f, --figures
        save matplotlib figures

    -l, --log
        save numeric values (accelerations, velocities, angles, ...) into a
        file

    -u, --unbounded
        set unbounded joint angles

    -v, --version
        output version information and exit

    -h, --help
        display this help and exit

Examples:
    pyarm -f -l -m mitrovic -d 0.005 -A sigmoid

{'fraction_non_alphanumeric': 0.10555555555555556, 'fraction_numerical': 0.01241830065359477, 'mean_word_length': 2.1985370950888194, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4271889', 'n_tokens_mistral': 1059, 'n_tokens_neox': 964, 'n_words': 377}