<commit_before>#!/usr/bin/env python
from __future__ import division
from optparse import OptionParser
import roslib
import rospy
import rosparam
import copy
import numpy as np
import os, sys
import time

from std_msgs.msg import Float32, Header, String                                                                                                                                  
from geometry_msgs.msg import Point, Vector3
from multi_tracker.msg import Contourinfo, Contourlist
from multi_tracker.msg import Trackedobject, Trackedobjectlist

import matplotlib.pyplot as plt
import multi_tracker_analysis.Kalman as Kalman
import imp

import threading


class DataAssociator(object):
    def __init__(self, nodenum):
        kalman_parameter_py_file = rospy.get_param('/multi_tracker/' + nodenum + '/data_association/kalman_parameters_py_file')
        home_directory = os.path.expanduser( rospy.get_param('/multi_tracker/' + nodenum + '/home_directory') )
        kalman_parameter_py_file = os.path.join(home_directory, kalman_parameter_py_file)
        print 'Kalman py file: ', kalman_parameter_py_file
        
        self.lockBuffer = threading.Lock()
        <commit_msg>expand user on kalman filename<commit_after>#!/usr/bin/env python
from __future__ import division
from optparse import OptionParser
import roslib
import rospy
import rosparam
import copy
import numpy as np
import os, sys
import time

from std_msgs.msg import Float32, Header, String                                                                                                                                  
from geometry_msgs.msg import Point, Vector3
from multi_tracker.msg import Contourinfo, Contourlist
from multi_tracker.msg import Trackedobject, Trackedobjectlist

import matplotlib.pyplot as plt
import multi_tracker_analysis.Kalman as Kalman
import imp

import threading


class DataAssociator(object):
    def __init__(self, nodenum):
        kalman_parameter_py_file = os.path.expanduser( rospy.get_param('/multi_tracker/' + nodenum + '/data_association/kalman_parameters_py_file') )
        home_directory = os.path.expanduser( rospy.get_param('/multi_tracker/' + nodenum + '/home_directory') )
        print 'Kalman py file: ', kalman_parameter_py_file
        
        self.lockBuffer = threading.Lock()
        
{'fraction_non_alphanumeric': 0.0622568093385214, 'fraction_numerical': 0.0025940337224383916, 'mean_word_length': 2.7142857142857144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1429415', 'n_tokens_mistral': 641, 'n_tokens_neox': 629, 'n_words': 170}