5.3 Questions about Environments

How do I present events with different frequencies?
There is a type of environment that implements frequency-based presentation of events. See section 11.9 Frequency Environments and Events for details. Note that you can do Change Type on an existing environment to change it to a frequency environment, retaining all the patterns, etc. However, you'll also need to convert the individual events to FreqEvents using change type on them. An alternative is to create a new FreqEnv, create the proper number of Freq Events, and then do CopyTo on the original environment to copy its stuff to the new one.
How do I present sequences of events in order?
This requires both a structured environment and a set of processes that can use that structure to present sequences. The environment must simply have the events in sub-groups where each sub-group defines a different sequence of events (see section 11.3 Representing Sequences of Events). The SequenceEpoch and the SequenceProcess work together to present sequenced events. The SequenceEpoch iterates through the different sequences (groups) of events (and determines if they are randomized or not at that level), and the SequenceProcess iterates through the events in a given sequence (and determines the order of the events themselves). See section 12.6.1 Processes for Sequences of Events for details.
How do I read patterns/events from a file?
The function ReadWeights on the Environment object will read in events from a text file, including files formatted for the old PDP software. This file has a simple format. See section 11.7 Importing Environments from Text Files for details on the file format and how to use the function.
How do I present an arbirarily-selected event to the network?
First, view the Environment that contains the event, scroll the list of events to the desired one, and use the right-mouse-button to edit that event. This brings up an 'Edit' dialog, containing a 'PresentEvent' button at the bottom. Clicking this button will present the event using the selected TrialProcess (which must already be created, and determines which network is used, etc).
How do I have some events that set the output target, and others
that don't, or more generally, have events do different things within the environment? How an event is presented to the network, and the very configuration of the event itself, is determined by the EventSpec and its associated PatternSpecs. These can be configured by hitting Edit Specs on the EnviroView. To have different events do different things, you need two (or more) different event specs. Once you have configured the different event specs, you can click on events (after doing Edit Events) and select View: Action/Set Event Spec to set the event specs for the selected events.