Example #1
0
                              label='curve_ironing'
                              ),
                         Group(
                              Item('thickness', format_str="%.3f"),
                              Item('edge_length', format_str="%.3f"),
                              label='geometry'
                              ),
                         Group(
                              Item('loading_rate'),
                              Item('age'),
                              label='loading rate and age'
                              ),
                         Group(
                              Item('E_c', show_label=True, style='readonly', format_str="%.0f"),
                              Item('ccs@', show_label=False),
                              label='composite cross section'
                              )
                         ),
                        scrollable=True,
                        resizable=True,
                        height=0.8,
                        width=0.6
                        )

if __name__ == '__main__':

    from matresdev.db.exdb.ex_run_table import ExRunClassExt
    ex = ExRunClassExt(klass=ExpST)
    ex.configure_traits()

Example #2
0
                              label='curve_ironing'
                              ),
                         Group(
                              Item('thickness', format_str="%.3f"),
                              Item('edge_length', format_str="%.3f"),
                              label='geometry'
                              ),
                         Group(
                              Item('loading_rate'),
                              Item('age'),
                              label='loading rate and age'
                              ),
                         Group(
                              Item('E_c', show_label=True, style='readonly', format_str="%.0f"),
                              Item('ccs@', show_label=False),
                              label='composite cross section'
                              )
                         ),
                        scrollable=True,
                        resizable=True,
                        height=0.8,
                        width=0.6
                        )

if __name__ == '__main__':

    from matresdev.db.exdb.ex_run_table import ExRunClassExt
    ex = ExRunClassExt(klass=ExpST)
    ex.configure_traits()

Example #3
0
                scrollable=True,
            ),
            scrollable=True,
            id='matresdev.db.exdb.ex_composite_bending_tensile_test.vgroup',
            dock='tab',
        ),
        id='matresdev.db.exdb.ex_composite_bending_tensile_test',
        dock='tab',
        scrollable=True,
        resizable=True,
        height=0.8,
        width=0.5,
    )


ExpTTAramis2d.db = ExRunClassExt(klass=ExpTTAramis2d)
# ExpBTTDB.db = ExRunClassExt(klass=ExpBTTDB)

#--------------------------------------------------------------

if __name__ == '__main__':

    from matresdev.db.simdb import SimDB
    from matresdev.db.exdb import ExRunView
    simdb = SimDB()
    import os

    test_files = ['BT-1C-55mm-0-3300EP-V2_S3P2(11)-Aramis2d.DAT']

    test_file_path = os.path.join(
        simdb.exdata_dir,
Example #4
0
    #-------------------------------------------------------------------------
    # view
    #-------------------------------------------------------------------------

    traits_view = View(VGroup(
        Group(Item('length', format_str="%.3f"),
              Item('length_left', format_str="%.3f"),
              Item('length_right', format_str="%.3f"),
              Item('width', format_str="%.3f"),
              Item('thickness', format_str="%.3f"),
              label='geometry'),
        Group(Item('weight_load_introduction'),
              Item('loading_rate'),
              Item('age'),
              label='loading rate and age'),
        Group(Item('E_c', show_label=True, style='readonly',
                   format_str="%.0f"),
              Item('ccs@', show_label=False),
              label='composite cross section')),
                       scrollable=True,
                       resizable=True,
                       height=0.8,
                       width=0.6)


if __name__ == '__main__':

    from matresdev.db.exdb.ex_run_table import ExRunClassExt
    ex = ExRunClassExt(klass=ExpBT3PTRF)
    ex.configure_traits()
Example #5
0
                dock='tab',
                scrollable=True,
            ),
            scrollable=True,
            id='matresdev.db.exdb.ex_composite_tensile_test.vgroup',
            dock='tab',
        ),
        id='matresdev.db.exdb.ex_composite_tensile_test',
        dock='tab',
        scrollable=True,
        resizable=True,
        height=0.8,
        width=0.5,
    )

ExpDPODB.db = ExRunClassExt(klass=ExpDPODB)

if __name__ == '__main__':

    import pylab as p
    fig = p.figure(facecolor='white', figsize=(12, 9))

    test_file_path = os.path.join(simdb.exdata_dir, 'double_pullout',
                                  '2016-03-16_DPO-15mm-0-3300SBR_R4',
                                  'raw_data', 'DPO-70cm-0-3300SBR-V2_R4.DAT')
    exrun = ExRun(data_file=test_file_path)

    axes = p.subplot(111)
    exrun.ex_type._plot_yforce_displacement(axes)
    p.show()
Example #6
0
                scrollable=True,
            ),
            scrollable=True,
            id='matresdev.db.exdb.ex_composite_bending_tensile_test.vgroup',
            dock='tab',
        ),
        id='matresdev.db.exdb.ex_composite_bending_tensile_test',
        dock='tab',
        scrollable=True,
        resizable=True,
        height=0.8,
        width=0.5,
    )


ExpBT4PTAramis2d.db = ExRunClassExt(klass=ExpBT4PTAramis2d)
# ExpBTTDB.db = ExRunClassExt(klass=ExpBTTDB)

#--------------------------------------------------------------

if __name__ == '__main__':

    from matresdev.db.simdb import SimDB
    from matresdev.db.exdb import ExRunView
    simdb = SimDB()
    import os

    test_files = ['BT-1C-55mm-0-3300EP-V2_S3P2(11)-Aramis2d.DAT']

    test_file_path = os.path.join(
        simdb.exdata_dir,