/[escript]/trunk/pyvisi/py_src/carpet.py
ViewVC logotype

Log of /trunk/pyvisi/py_src/carpet.py

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 3981)

Revision 1207 - (view) (annotate) - [select for diffs]
Modified Mon Jul 2 02:02:26 2007 UTC (12 years, 1 month ago) by jongui
File length: 6915 byte(s)
Diff to previous 1199
Made some changes to the Carpet module. When 3D data is used, a cut will be performed using a plane before deformation occurs on the plane. However, if 2D data is used a cut will NOT be performed and deformation will instead occur immediately. 

Pyvisi distinguishes 2D from 3D data by retrieving the length of the z-axis. A 2D data will have a z-axis length of zero while a 3D data will have a z-axis length of non-zero. There are exceptions to these rules where some 2D data may have a non-zero z-axis length. However, such exceptions are not taken into account at this stage.


Revision 1199 - (view) (annotate) - [select for diffs]
Modified Wed Jun 20 05:01:30 2007 UTC (12 years, 2 months ago) by jongui
File length: 5939 byte(s)
Diff to previous 1197
- Updated the epydocs and guide.
Deleted redundant files and methods.
Tidied up the codes.

Revision 1197 - (view) (annotate) - [select for diffs]
Modified Mon Jun 18 02:08:34 2007 UTC (12 years, 2 months ago) by jongui
File length: 5848 byte(s)
Diff to previous 1189
Update the way movies are generated. Please refer to the examples. 

The user can now either specify the image range(first and last images inclusive):
mov.imageRange(input_directory = PYVISI_EXAMPLE_IMAGES_PATH,
        first_image = IMAGE_NAME + "000938.jpg",
		last_image = IMAGE_NAME + "000948.jpg")
mov.makeMovie(os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, "movie.mpg"))

or the user can specify a list of images:

lst = ['image1.jpg', 'image5.jpg', 'image7.jpg]
mov.imageList(input_directory = PYVISI_EXAMPLE_IMAGES_PATH, image_list = lst)
mov.makeMovie(os.path.join(PYVISI_EXAMPLE_IMAGES_PATH, "movie.mpg"))



Revision 1189 - (view) (annotate) - [select for diffs]
Modified Thu Jun 7 05:31:25 2007 UTC (12 years, 2 months ago) by jongui
File length: 5243 byte(s)
Diff to previous 1158
A Scalar Bar can now be displayed by creating an instance of a 'Legend'. The Scalar Bar can either show the scalar data range or vector data range. Corresponding examples and tests have also been added.

Revision 1158 - (view) (annotate) - [select for diffs]
Modified Tue May 22 04:24:01 2007 UTC (12 years, 2 months ago) by jongui
File length: 5029 byte(s)
Diff to previous 1148
Made some changes to fix the memory leak problem. However, the problem still persists for run_escript_with_lazy_evaluation.py, run_streamline.py and run_streamline_with_lazy_evaluation.py.


Revision 1148 - (view) (annotate) - [select for diffs]
Modified Wed May 16 22:45:33 2007 UTC (12 years, 3 months ago) by jongui
File length: 4952 byte(s)
Diff to previous 1147
Added the updated files for pyvisi and removed some incorrect reference images.

Revision 1147 - (view) (annotate) - [select for diffs]
Added Wed May 16 06:39:11 2007 UTC (12 years, 3 months ago) by ksteube
File length: 4550 byte(s)
Added back in some files that were accidentally deleted.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26