Skip to content

Commit

Permalink
[WIP] refactoring of comment blocks
Browse files Browse the repository at this point in the history
  • Loading branch information
C.A.P. Linssen committed Oct 22, 2018
1 parent 3869a68 commit 2eaf9e8
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 64 deletions.
38 changes: 7 additions & 31 deletions models/multimeter.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

namespace nest
{

/** @BeginDocumentation
Name: multimeter - Device to record analog data from neurons.
Expand Down Expand Up @@ -86,6 +87,12 @@ extract it from the device using GetStatus.
you record from are frozen and others are not, data will only be collected
from the unfrozen nodes. Most likely, this will lead to confusing results,
so you should not use multimeter with frozen nodes.
@note If you want to pick up values at every time stamp,
you must set the interval to the simulation resolution.
@ingroup Devices
@see UniversalDataLogger
Parameters:
The following parameters can be set in the status dictionary:
Expand Down Expand Up @@ -125,37 +132,6 @@ Author: Hans Ekkehard Plesser, Barna Zajzon (added offset support March 2017)
SeeAlso: Device, RecordingDevice
*/


/**
* General analog data recorder.
*
* This class is based on RecordingDevice and adds common
* functionality for devices sampling analog values at
* given time intervals. The user specifies which data
* are to be sampled at what interval.
*
* Sampling works in the way the the sampled node must store
* the relevant data for the most recent completed time slice
* and that the sampling device then sends a Request for data
* with a given time stamp.
*
* Data is recorded at time steps T for which
* start < T - origin <= stop
* and
* ( T - offset ) mod interval == 0.
*
* The recording interval defaults to 1ms; this entails that
* the simulation resolution cannot be set to larger values than
* 1ms unless the analog recording device interval is set to at
* least that resolution.
*
* @note If you want to pick up values at every time stamp,
* you must set the interval to the simulation resolution.
* *
* @ingroup Devices
* @see UniversalDataLogger
*/
class Multimeter : public DeviceNode
{

Expand Down
11 changes: 3 additions & 8 deletions models/music_cont_in_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@
// Includes from sli:
#include "arraydatum.h"

namespace nest
{

/** @BeginDocumentation
Name: music_cont_in_proxy - A device which receives continuous data from MUSIC.
Expand Down Expand Up @@ -82,14 +85,6 @@ Availability: Only when compiled with MUSIC
SeeAlso: music_event_out_proxy, music_event_in_proxy, music_message_in_proxy
*/

namespace nest
{
/**
* Emit spikes at times received from another application via a
* MUSIC port. The timestamps of the events also contain offsets,
* which makes it also useful for precise spikes.
*/
class music_cont_in_proxy : public DeviceNode
{

Expand Down
7 changes: 3 additions & 4 deletions models/music_cont_out_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
// Includes from sli:
#include "arraydatum.h"

namespace nest
{

/** @BeginDocumentation
Name: music_cont_out_proxy - A device which sends continuous data from NEST to
Expand Down Expand Up @@ -91,10 +94,6 @@ Availability: Only when compiled with MPI and MUSIC
SeeAlso: music_cont_in_proxy, music_event_out_proxy, music_event_in_proxy,
music_message_in_proxy
*/

namespace nest
{

class music_cont_out_proxy : public DeviceNode
{

Expand Down
11 changes: 3 additions & 8 deletions models/music_event_in_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
#include "event.h"
#include "nest_types.h"

namespace nest
{

/** @BeginDocumentation
Name: music_event_in_proxy - A device which receives spikes from MUSIC.
Expand Down Expand Up @@ -82,14 +85,6 @@ Availability: Only when compiled with MUSIC
SeeAlso: SetAcceptableLatency, music_event_out_proxy, music_cont_in_proxy,
music_message_in_proxy
*/

namespace nest
{
/**
* Emit spikes at times received from another application via a
* MUSIC port. The timestamps of the events also contain offsets,
* which makes it also useful for precise spikes.
*/
class music_event_in_proxy : public DeviceNode
{

Expand Down
7 changes: 3 additions & 4 deletions models/music_event_out_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@
#include "exceptions.h"
#include "nest_types.h"

/** @BeginDocumentation
namespace nest
{

/** @BeginDocumentation
Name: music_event_out_proxy - Device to forward spikes to remote applications
using MUSIC.
Expand Down Expand Up @@ -79,9 +81,6 @@ Availability: Only when compiled with MUSIC
SeeAlso: music_event_in_proxy, music_cont_in_proxy, music_message_in_proxy
*/

namespace nest
{
class music_event_out_proxy : public DeviceNode
{

Expand Down
6 changes: 2 additions & 4 deletions models/music_message_in_proxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@
#include "arraydatum.h"
#include "dictutils.h"

namespace nest
{
/** @BeginDocumentation
Name: music_message_in_proxy - A device which receives message strings from
MUSIC.
Expand Down Expand Up @@ -92,9 +93,6 @@ Availability: Only when compiled with MUSIC
SeeAlso: music_event_out_proxy, music_event_in_proxy, music_cont_in_proxy
*/

namespace nest
{
class MsgHandler : public MUSIC::MessageHandler
{
ArrayDatum messages; //!< The buffer for incoming message
Expand Down
5 changes: 0 additions & 5 deletions models/noise_generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,11 +108,6 @@ SeeAlso: Device
Author: Ported to NEST2 API 08/2007 by Jochen Eppler, updated 07/2008 by HEP
*/

/**
* Gaussian white noise generator.
* Provide Gaussian "white" noise input current
*/
class noise_generator : public DeviceNode
{

Expand Down

0 comments on commit 2eaf9e8

Please sign in to comment.