new file:   nanpy_test_pattern.py