def test_name_assignement(self):
        t_start = '20180323_150203'
        t_stop = t_start
        a = ma.Multiplexed_Readout_Analysis(t_start=t_start, t_stop=t_stop)
        np.testing.assert_equal(a.proc_data_dict['qubit_names'], ['q1', 'q0'])

        a = ma.Multiplexed_Readout_Analysis(t_start=t_start, t_stop=t_stop,
                                            qubit_names=['QR', 'QL'])
        np.testing.assert_equal(a.proc_data_dict['qubit_names'], ['QR', 'QL'])
    def test_multiplexed_readout_analysis(self):
        t_start = '20180323_150203'
        t_stop = t_start
        a = ma.Multiplexed_Readout_Analysis(t_start=t_start, t_stop=t_stop,
                                            qubit_names=['QR', 'QL'])
        np.testing.assert_almost_equal(a.proc_data_dict['F_ass_raw QL'],
                                       0.72235812133072408)

        np.testing.assert_almost_equal(a.proc_data_dict['F_ass_raw QR'],
                                       0.81329500978473579)

        np.testing.assert_almost_equal(a.proc_data_dict['threshold_raw QL'],
                                       1.9708007812500004)
        np.testing.assert_almost_equal(a.proc_data_dict['threshold_raw QR'],
                                       -7.1367667055130006)