This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub activateHyperlinks() | |
'Updateby Extendoffice | |
Dim Rng As Range | |
Dim WorkRng As Range | |
On Error Resume Next | |
Dim xTitleId As String | |
xTitleId = "Website" '<-----change this as needed | |
Set WorkRng = Application.Selection | |
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8) | |
For Each Rng In WorkRng |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function T = CEDS64ChanList(fhand) | |
% CEDS64ChanList returns a table of channels in the Spike2 data file | |
% specified by a handle fhand. | |
% | |
% SYNTAX | |
% T = CEDS64ChanList(fhand) | |
% | |
% | |
% INPUT ARGUMENTS | |
% fhand integer |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'removeFCVartifactForFreya.s2s | |
' See onskel.zip at http://ced.co.uk/downloads/scriptspkmeth | |
'' | |
'it contains toolbar to enable the user to open | |
' a new data file for sampling and start and stop sampling. | |
'It displays the log view at the botton of the screen to place | |
' values in that the user may wish to extract | |
'All on-line analysis should be placed in the idle routine | |
' | |
'Note this script is UNDER DEVELOPMENT BY CED and is included for |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function ma = writeMapAnnotation(session, keys, values, varargin) | |
% WRITEMAPANNOTATION Create and upload a map annotation onto OMERO | |
% | |
% ma = writeMapAnnotation(session, keys, values) creates and uploads a | |
% map annotation owned by the session user containing one or multiple | |
% key/value pair(s). The keys and values input must be either strings or | |
% cell arrays of strings with the same number of elements. | |
% | |
% ma = writeMapAnnotation(session, keys, values, 'description', | |
% description) also specifies the description of the map annotation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%% use Java Gateway from MATLAB | |
host = 'xxxxxxx.xxxx.xxxxx'; | |
userName = 'XXXXXXXX'; | |
password = inputdlg('password:'); | |
password = password{1}; | |
[gateway,user,cred] = loadOmeroGateway(userName, password, host) % https://gist.github.com/kouichi-c-nakamura/c8d335bfe45ee15e3bd86771a8578596 | |
%% Retrieve the list of ROIs attached to an image in a dataset |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function fac = getGatewayFacility(gateway,classname) | |
% getGatewayFacility is a MATLAB function to be used with OMERO Java | |
% Gateway. | |
% | |
% in Java, the following code returns the XxxxxFacility object fac. | |
% XxxxxFacility fac = gateway.getFacility(XxxxxFacility.class) | |
% | |
% However, running the same code in MATLAB requires special handling and | |
% this functions does that for you. For more details, see | |
% https://docs.openmicroscopy.org/latest/omero/developers/Java.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [xml, res] = bfTiffComment(imgfile, varargin) | |
% bfTiffComment allows you to extract, inject, indent or validate OME-XML | |
% embeeded in an OME-TIFF file or an XML file. | |
% | |
% SYNTAX | |
% xml = bfTiffComment(imgfile) | |
% xml = bfTiffComment(xmlfile) | |
% xml = bfTiffComment(xmlstr) | |
% [xml,res] = bfTiffComment(____,'Param',value) | |
% |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [gateway,user,cred] = loadOmeroGateway(userName, password, host, varargin) | |
% loadOmeroGateway opens a connection to an OMERO server using Java gateway | |
% (https://docs.openmicroscopy.org/latest/omero/developers/Java.html#gatewayconnect). | |
% | |
% SYNTAX | |
% [gateway,user,cred] = loadOmeroGateway(userName, password, host) | |
% [gateway,user,cred] = loadOmeroGateway(userName, password, host, port) | |
% | |
% | |
% INPUT ARGUMENTS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"translatorID": "1ed36c21-de68-4ba4-a27f-d724ce258db4", | |
"label": "Society for Neuroscience Abstract 2016", | |
"creator": "Kouchi C. Nakamura, PhD; kouichi.c.nakamura@gmail.com", | |
"target": "^https?://www\\.abstractsonline\\.com/pp8/#!/\\d+/presentation/", | |
"minVersion": "3.0", | |
"maxVersion": "", | |
"priority": 100, | |
"inRepository": true, | |
"translatorType": 4, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<style xmlns="http://purl.org/net/xbiblio/csl" class="in-text" version="1.0" demote-non-dropping-particle="never" page-range-format="expanded" default-locale="en-US"> | |
<!-- This style was edited with the Visual CSL Editor (http://editor.citationstyles.org/visualEditor/) --> | |
<info> | |
<title>The Journal of Neuroscience-DOI</title> | |
<id>http://www.zotero.org/styles/the-journal-of-neuroscience-doi</id> | |
<link href="http://www.zotero.org/styles/the-journal-of-neuroscience-doi" rel="self"/> | |
<link href="http://www.zotero.org/styles/harvard-cite-them-right" rel="template"/> | |
<link href="http://www.jneurosci.org/site/misc/ifa_organization.xhtml#References" rel="documentation"/> | |
<author> |
NewerOlder