<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[weixin_46354421的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/weixin_46354421</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; weixin_46354421]]></copyright><item><title><![CDATA[fsleyes使用自定义color map]]></title><link>https://blog.youkuaiyun.com/weixin_46354421/article/details/139963206</link><guid>https://blog.youkuaiyun.com/weixin_46354421/article/details/139963206</guid><author>weixin_46354421</author><pubDate>Tue, 25 Jun 2024 16:57:44 +0800</pubDate><description><![CDATA[colourmap的路径就在：~/soft/FSLeyes/share/FSLeyes/assets/colourmaps。今天在投射脑区结果的时候发现fsleyes自带的color map居然没有常用的jet，查阅资料后已解决。3、重新打开fsleyes，就可以选择新保存的jet了。2、将jet的cmap文件拷贝到上述路径中就完成啦。1、定位fsleyes的安装路径。备注：256代表256种颜色。我的系统是centos。]]></description><category></category></item><item><title><![CDATA[python调用fsl预处理fMRI]]></title><link>https://blog.youkuaiyun.com/weixin_46354421/article/details/135837757</link><guid>https://blog.youkuaiyun.com/weixin_46354421/article/details/135837757</guid><author>weixin_46354421</author><pubDate>Sun, 04 Feb 2024 10:24:06 +0800</pubDate><description><![CDATA[经过排查，发现是用os.system执行系统命令，如果该指令需要的时间较长，那么没等system执行完毕，python就会执行下一条代码，因为后面的代码需要用到前面的输出结果，所以就会报错。之前写了python脚本调用fsl的指令来进行对功能像和DTI的预处理，用的函数是os.system(cmd),结果脚本运行起来总会报路径错误，如下图所示。解决方法：改用subprocess来执行系统命令。]]></description><category></category></item></channel></rss>