Beispiel #1
0
    Impl( EventSource& output, const URIHandler& params )
        : _output( output )
        , _report( params.getConfig().getReportSource( params.getReport( )),
                   brion::MODE_READ, params.getGIDs( ))
    {
        const brain::Circuit circuit( params.getConfig( ));
        const auto morphologies = circuit.loadMorphologies(
            params.getGIDs(), brain::Circuit::COORDINATES_GLOBAL );

        helpers::addCompartmentEvents( morphologies, _report, output );
    }
Beispiel #2
0
    Impl( EventSource& output, const URIHandler& params )
        : _output( output )
        , _report( params.getConfig().getReportSource( params.getReport( )),
                   brion::MODE_READ, params.getGIDs( ))
    {
        const brain::Circuit circuit( params.getConfig( ));
        const auto morphologies = circuit.loadMorphologies(
            params.getGIDs(), brain::Circuit::Coordinates::global );

        // add soma events only
        helpers::addCompartmentEvents( morphologies, _report, output, true );
    }