User Tools

Site Tools


encoding

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
encoding [2008/08/21 22:00] rathiencoding [2008/08/21 22:16] (current) rathi
Line 20: Line 20:
 </code> </code>
 The file %%"lthc_index.php"%% has the old lthc way of giving inputs. The file %%"lthc_index.php"%% has the old lthc way of giving inputs.
 +
  
  
Line 25: Line 26:
 ====== Important lines in index.php ====== ====== Important lines in index.php ======
  
-Line 33 to 400: The code is about checking the validity of the polynomials.\\ +Line 46 to 396: The code is about checking the validity of the polynomials.\\ 
-Line 571 to 584: parameters are written.\\ +Line 554 to 573: parameters are written if there is an input from the user.\\ 
-Line 585 to 593System commands to generate, plot in ps and convert to gif.\\ +Line 574Execution of the command to generate the image. \\ 
-Line 622Rate computation using the file %%"/var/www/demos/files/ensembles/tempa"%%.\\ +Line 580pbm to gif generated.\\ 
-Line 648The graph file residing in %%"/var/www/demos/files/ensembles/"%% displayed \\ +Line 594gif is displayed.\\ 
-in the text format. + 
  
  
 ====== Location of files related to execution and writing ====== ====== Location of files related to execution and writing ======
  
-The directory %%"/var/www/demos/files/ensembles"%% contains files for a \\ +The directory %%"/var/www/demos/files/encoding"%% has permission 
-session. There are four files for a seesion and there names are suffixed \\ +<code> 
-by session id's. +drwxrwsrwx 2 apache ipgdemos 20480 2008-08-17 18:06 encoding 
-  * **param** contains the parameter of the ensembles. +</code> 
-  * **graph** contains the graph connections. +Inside the directory %%"/var/www/demos/files/encoding"%% there are  
-  * **tempa** data for rate computation. +two files for a seesion.\\ 
-  * **tempb** graph connections to generate the ps file of the graph. +  * **param** contains the parameter of the ensembles and suffixed by session id.\\ 
-All these four files have permissions: %%"-rw-r--r--"%%. The %%".gif"%% and \\ +  * **gif file** It is the gif image of the triangulated matrix and its name is \\ 
-%%.ps%% are given names which are same as the session idsThey reside in \\ +based on the session idAll these files have permissions%%"-rw-r--r--"%%. 
-%%"/var/www/demos/files/ensembles/images"%% with permissions %%"-rw-r--r--"%%.+
  
  
  
  
-=====Important Remark===== 
  
-There should be a %%"crone"%% job deleting the files in %%"/var/www/demos/files/ensembles"%%.\\ +=====Important Remark=====
-The file names start with %%"graph, param, tempa, tempb"%%. There are four files without \\ +
-the session d suffix which should not be deleted. These should be there just for the sake \\ +
-of reference. Similarly, the files in %%"/var/www/demos/files/ensembles/images"%% should be \\ +
-deleted.+
  
 +There should be a %%"crone"%% job deleting the files in %%"/var/www/demos/files/encoding"%%.\\
 +Right now the %%".pbm"%% file, which is the output for the triangulated matrix, is generated \\
 +in the directory %%"/var/www/demos/encoding"%%. Its naming is not based on session id. I do not \\
 +'know if it is very crucial, but will be better to name it also according to the session id.\\
 +Then we give give both the matrix and triangulated matrix to the user as a text file. \\
 +There are some **777** permissions which should be taken care of. These are there on lthcwww as well, \\
 +so I did not try to change them.
  
  
encoding.1219356018.txt.gz · Last modified: 2008/08/21 22:00 by rathi