#include "lissom.h"
#include "cmdparam.h"
Include dependency graph for file_io.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Compounds | |
| struct | OrientationHistogram |
Defines | |
| #define | MAPLE 1 |
| #define | SUBTRACT 0 |
| #define | SUBTRACTFROM 1 |
| #define | SUBTRACTIF 2 |
| #define | SUBTRACTFROMIF 3 |
| #define | OVERWRITE 4 |
| #define | IGNORE 5 |
| #define | READ -1 |
| #define | WRITE -2 |
Functions | |
| cmdstat | cmd_plot_activity ( int argc, const char *argv[] ) |
| cmdstat | cmd_load_snapshot ( int argc, const char *argv[] ) |
| void | file_io_init_hook ( void ) |
| int | compute_orientation_distribution (int lowi, int highi, int lowj, int highj, OrientationHistogram *histo, double activity[NMAX][NMAX],int eye) |
| Make an orientation histogram out of the current orientation map and (optionally) a map of activities. More... | |
| int | compute_weight_distribution (OrientationHistogram *histo, int ui, int uj, l_weight *weights, int radius, int ar_width, int eye) |
| Make an orientation histogram out of the current orientation map and a set of lateral weights. More... | |
| void | read_or (FILE * or_fp, int or_min, int or_max, int or_preferences[2][NMAX][NMAX], double or_selectivities[2][NMAX][NMAX] ) |
| void | read_wts (Neuron nmap[NMAX][NMAX], const char *basefilename,int ui,int uj, int output_routine, int iter, int action, int *centerx, int *centery) |
| Reads Maple plot files of weight values for one neuron. More... | |
| int | plot_weights_to_file (int ui, int uj, char *filebasename,int iter) |
| void | save_presentation_image (const char* filename,double fname_angle, double input_v[RNMAX*RNMAX*MAX_NUM_EYES], double initial_activity[NMAX][NMAX], double settled_activity[NMAX][NMAX], int pres) |
| Create and save a picture of the input and activations. More... | |
| int | save_image_data (void) |
| Saves data for visualizing the network's evolution. More... | |
| void | swallow_line (FILE *stream) |
| Swallows the rest of the current line on the given stream. More... | |
| void | weights_IO (int action, FILE *fp) |
| This procedure does reading and writing of weights to an ASCII file. More... | |
Definition in file file_io.h.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Make an orientation histogram out of the current orientation map and (optionally) a map of activities.
Definition at line 1348 of file file_io.c. Referenced by ppm_draw_orientations(), and ppm_draw_presentation(). |
|
|
Make an orientation histogram out of the current orientation map and a set of lateral weights.
Definition at line 1382 of file file_io.c. Referenced by ppm_draw_weights(). |
|
|
|
|
|
|
|
|
Reads Maple plot files of weight values for one neuron. Note that the inhibitory and excitatory lateral weight values have been scaled by gammainh and gammaexc, respectively. |
|
|
Saves data for visualizing the network's evolution. At each snapshot, the afferent map, od patterns and intitial and final activity patterns are stored. The cx and cy arrays must be static local to use shmem communication. (28 Feb 96 J.A.B.) Reorganized and added ifdefs to allow saving only some files if the rest are not needed. Note that disabling any of them may interfere with the operation of the display_od program, so turning them off should only be done if using another display method. |
|
|
Create and save a picture of the input and activations.
|
|
|
Swallows the rest of the current line on the given stream.
|
|
|
This procedure does reading and writing of weights to an ASCII file. fp is the file pointer. Data are saved and read from the N-th PE to the zeroth so that the same locally allocated structures can be used to hold the data. The ipc_get procedure overwrites local weights, so this function can be called only at the end of the simulation. Definition at line 737 of file file_io.c. Referenced by load_current(), and save_current(). |
1.2.1 written by Dimitri van Heesch,
© 1997-2000