01 2019 档案

摘要:method 1 : use =avconv= package in Linux e.g. to convert images (v_1.png, v_2.png ...) to 'velocity.mp4' avconv -i v_%d.png -b:v 1000k velocity.mp4 to 阅读全文
posted @ 2019-01-23 16:36 kaiming_ai 阅读(256) 评论(0) 推荐(0)
摘要:Goal: I want to write a program for this: In a folder I have =n= number of files; first read one file and perform some operation then store result in 阅读全文
posted @ 2019-01-23 14:37 kaiming_ai 阅读(301) 评论(0) 推荐(0)
摘要:#### import the simple module from the paraviewfrom paraview.simple import *#### disable automatic camera reset on 'Show'paraview.simple._DisableFirst 阅读全文
posted @ 2019-01-18 16:11 kaiming_ai 阅读(422) 评论(0) 推荐(0)
摘要:********** # get color legend/bar for 'vLUT' in view 'renderView1'vLUTColorBar = GetScalarBar(vLUT, renderView1) # Properties modified on vLUTColorBar 阅读全文
posted @ 2019-01-18 12:22 kaiming_ai 阅读(338) 评论(0) 推荐(0)
摘要:* Source code The following is a C code for x component of 2nd stokes wave ×××××××××××××××××××××/*second order stokes wave at inlet Boundary, wave vel 阅读全文
posted @ 2019-01-18 09:56 kaiming_ai 阅读(323) 评论(0) 推荐(0)
摘要:extract a page from a multiple pages pdf 1 extract a page from a multiple pages pdf use pdftk package type the following commands $ pdftk full-pages.p 阅读全文
posted @ 2019-01-17 22:32 kaiming_ai 阅读(213) 评论(0) 推荐(0)
摘要:** read text file in pythoncapability: reading =text= from a text file 1. open the IDLE text editor >>> idle32. declare a *string* variable that holds 阅读全文
posted @ 2019-01-17 19:20 kaiming_ai 阅读(416) 评论(0) 推荐(0)