当前位置:首页>python>基于MNE Python进行空间信号分离(SSS)及Maxwellfiltering

基于MNE Python进行空间信号分离(SSS)及Maxwellfiltering

  • 2026-06-27 23:53:56
基于MNE Python进行空间信号分离(SSS)及Maxwellfiltering
引言

欢迎扫描左边二维码添加微信,

加入“医生中的影像”微信群,

共同探寻影像的奥秘。

SSS  Maxwell filtering 的背景

SSSSignal-Space Separation,信号空间分离)是一种基于电磁场物理学的技术。它会把 MEG 测量到的信号分解成两部分:一部分来自传感器阵列内部,也就是脑内的信号(internal components);另一部分来自传感器阵列外部,也就是环境中的磁噪声(external components)。由于这两部分在数学上是线性独立的,因此可以通过去掉外部成分减少数据中的环境噪声。Maxwell filteringMaxwell 滤波)是与 SSS 相关的一种处理方法,它会进一步去除内部子空间中的高阶成分(这些高阶成分通常主要由传感器噪声主导)。通常情况下,SSS  Maxwell filtering 会一起使用,在 MNE-Python 中,它们被实现为同一个函数。

需要注意的是,Maxwell filtering 最初是为 Elekta Neuromag 系统开发,因此对于非 Neuromag  MEG 数据,目前仍应视为实验性方法。具体请参阅maxwell_filter() 函数文档中的注释。

一、载入处理模块并加载示例数据,并对数据进行裁剪以节省内存

import osimport matplotlib.pyplot as pltimport numpy as npimport pandas as pdimport seaborn as snsimport mnefrom mne.preprocessing import find_bad_channels_maxwellsample_data_folder = mne.datasets.sample.data_path()sample_data_raw_file = os.path.join(    sample_data_folder, "MEG", "sample", "sample_audvis_raw.fif")raw = mne.io.read_raw_fif(sample_data_raw_file, verbose=False)raw.crop(tmax=60)

MNE-Python 中实现的 SSS / Maxwell filtering 目前提供以下功能:

  • 基础坏通道检测(find_bad_channels_maxwell()
  • 坏通道重建
  • 串扰(cross-talk)消除
  • 精细校准(fine calibration)校正
  • tSSStemporal SSS
  • 坐标系转换
  • 使用信息论对内部成分进行正则化
  • 原始数据的头动补偿(利用 MaxFilter 估计的头位置信息)
  • cHPI 信号去除(见mne.chpi.filter_chpi()
  • 支持 3D 精细校准文件(不包括1D
  • 基于 epoch 的头动补偿(通过mne.epochs.average_movements()实现)
  • 对非 Elekta 系统数据提供实验性的处理支持(未进行 movement compensation 的数据)

二、载入fine calibration file(精细校准文件)及crosstalk compensation file(串扰补偿文件)——选做

fine_cal_file = os.path.join(sample_data_folder, "SSS", "sss_cal_mgh.dat")crosstalk_file = os.path.join(sample_data_folder, "SSS", "ct_sparse_mgh.fif")

三、标记坏通道,此步一定要在空间重建之前

先进行自动检测坏通道(本次数据中通道MEG2443噪声较大)

raw.info["bads"] = []raw_check = raw.copy()auto_noisy_chs, auto_flat_chs, auto_scores = find_bad_channels_maxwell(    raw_check,    cross_talk=crosstalk_file,    calibration=fine_cal_file,    return_scores=True,    verbose=True,)print(auto_noisy_chs)  # we should find them!print(auto_flat_chs)  # none for this dataset

将会输出:

Applying low-pass filter with 40.0 Hz cutoff frequency ...Reading 0 ... 36037  =      0.000 ...    60.000 secs...Filtering raw data in 1 contiguous segmentSetting up low-pass filter at 40 HzFIR filter parameters---------------------Designing a one-pass, zero-phase, non-causal lowpass filter:- Windowed time-domain design (firwin) method- Hamming window with 0.0194 passband ripple and 53 dB stopband attenuation- Upper passband edge: 40.00 Hz- Upper transition bandwidth: 10.00 Hz (-6 dB cutoff frequency: 45.00 Hz)- Filter length: 199 samples (0.331 s)Scanning for bad channels in 12 intervals (5.0 s) ...    No bad MEG channels    Processing 204 gradiometers and 102 magnetometers    Using fine calibration sss_cal_mgh.dat        Adjusting non-orthogonal EX and EY        Adjusted coil orientations by (μ ± σ): 0.5° ± 0.4° (max: 2.1°)    Automatic origin fit: head of radius 91.2 mm    Using origin -4.2, 16.4, 51.8 mm in the head frame        Interval   1:    0.000 -    4.998        Interval   2:    5.000 -    9.998        Interval   3:   10.000 -   14.998        Interval   4:   15.000 -   19.998        Interval   5:   20.000 -   24.998        Interval   6:   24.999 -   29.998        Interval   7:   29.999 -   34.997        Interval   8:   34.999 -   39.997        Interval   9:   39.999 -   44.997        Interval  10:   44.999 -   49.997        Interval  11:   49.999 -   54.997        Interval  12:   54.999 -   60.000    Static bad channels:  ['MEG 2443']    Static flat channels: [][done]['MEG 2443'][]

注意find_bad_channels_maxwell函数需要输入的是没有工频噪声、cHPI信号的干净数据。默认会进行40 Hz 低通滤波。

将检测到的坏通道更新至数据中

bads = raw.info["bads"] + auto_noisy_chs + auto_flat_chsraw.info["bads"] = bads

可视化自动检测坏通道的评分结果,方便后续人工检查

# Only select the data for gradiometer channels.ch_type = "grad"ch_subset = auto_scores["ch_types"] == ch_typech_names = auto_scores["ch_names"][ch_subset]scores = auto_scores["scores_noisy"][ch_subset]limits = auto_scores["limits_noisy"][ch_subset]bins = auto_scores["bins"]  # The the windows that were evaluated.# We will label each segment by its start and stop time, with up to 3# digits before and 3 digits after the decimal place (1 ms precision).bin_labels = [f"{start:3.3f} – {stop:3.3f}" for start, stop in bins]# We store the data in a Pandas DataFrame. The seaborn heatmap function# we will call below will then be able to automatically assign the correct# labels to all axes.data_to_plot = pd.DataFrame(    data=scores,    columns=pd.Index(bin_labels, name="Time (s)"),    index=pd.Index(ch_names, name="Channel"),)# First, plot the "raw" scores.fig, ax = plt.subplots(1, 2, figsize=(12, 8), layout="constrained")fig.suptitle(    f"Automated noisy channel detection: {ch_type}", fontsize=16, fontweight="bold")sns.heatmap(data=data_to_plot, cmap="Reds", cbar_kws=dict(label="Score"), ax=ax[0])[    ax[0].axvline(x, ls="dashed", lw=0.25, dashes=(25, 15), color="gray")    for x in range(1, len(bins))]ax[0].set_title("All Scores", fontweight="bold")# Now, adjust the color range to highlight segments that exceeded the limit.sns.heatmap(    data=data_to_plot,    vmin=np.nanmin(limits),  # bads in input data have NaN limits    cmap="Reds",    cbar_kws=dict(label="Score"),    ax=ax[1],)[    ax[1].axvline(x, ls="dashed", lw=0.25, dashes=(25, 15), color="gray")    for x in range(1, len(bins))]ax[1].set_title("Scores > Limit", fontweight="bold")

生成了一张原始评分图像及阈值化后评分,辅助进行人工检查。

自动化方法并不完美,最好同步进行人工检查,标记坏通道。

如下语句为增加人工检查后添加标记MEG2313为坏通道

raw.info["bads"] += ["MEG 2313"]  # from manual inspection

四、调用函数对数据进行SSS  Maxwell filtering

raw_sss = mne.preprocessing.maxwell_filter(    raw, cross_talk=crosstalk_file, calibration=fine_cal_file, verbose=True)

运行该函数将会输出如下信息,且先前标记的两个坏通道将在此步被修复(后续无需插值矫正)

Maxwell filtering raw data    Bad MEG channels being reconstructed: ['MEG 2443', 'MEG 2313']    Processing 204 gradiometers and 102 magnetometers    Using fine calibration sss_cal_mgh.dat        Adjusting non-orthogonal EX and EY        Adjusted coil orientations by (μ ± σ): 0.5° ± 0.4° (max: 2.1°)    Automatic origin fit: head of radius 91.2 mm    Using origin -4.2, 16.4, 51.8 mm in the head frame    Loading raw data from disk        Using 87/95 harmonic components for    0.000  (72/80 in, 15/15 out)    Processing    6 data chunks of (at least) 10.0 s with 0.0 s overlap and boxcar windowing    The final 0.0033299202193064646 s will be lumped into the final window        Using 87/95 harmonic components for    0.000  (72/80 in, 15/15 out)[done]

可以可视化具体效果

raw.pick(["meg"]).plot(duration=2, butterfly=True)raw_sss.pick(["meg"]).plot(duration=2, butterfly=True)

五、头动矫正

如果拥有被试头部相对于MEG传感器的位置变化信息,那么 SSS 在进行信号重建时可以把头动因素考虑进去,从而减少头部运动对 MEG 数据的影响。这里提到的头位置信息通常来自 cHPIcontinuous Head Position Indicator,连续头位置指示线圈)。这些小线圈会固定在受试者头上,并以特定频率持续发射磁信号,MEG 系统便可以实时追踪头部位置变化。

chpi_fif_file = os.path.join(    mne.datasets.testing.data_path(), "SSS", "test_move_anon_raw.fif")raw = mne.io.read_raw_fif(chpi_fif_file, allow_maxshield="yes")# time-resolved information on active HPI coils# if all hpi were inactive n_active is a zero-arrayn_active = mne.chpi.get_active_chpi(raw)print(f"Average number of coils active during recording: {n_active.mean()}")

将会输出如下信息,检测到5cHPI线圈都在正常工作

Opening raw data file /home/circleci/mne_data/MNE-testing-data/SSS/test_move_anon_raw.fif...    Read a total of 12 projection items:        mag.fif : PCA-v1 (1 x 306)  idle        mag.fif : PCA-v2 (1 x 306)  idle        mag.fif : PCA-v3 (1 x 306)  idle        mag.fif : PCA-v4 (1 x 306)  idle        mag.fif : PCA-v5 (1 x 306)  idle        mag.fif : PCA-v6 (1 x 306)  idle        mag.fif : PCA-v7 (1 x 306)  idle        grad.fif : PCA-v1 (1 x 306)  idle        grad.fif : PCA-v2 (1 x 306)  idle        grad.fif : PCA-v3 (1 x 306)  idle        grad.fif : PCA-v4 (1 x 306)  idle        Average EEG reference (1 x 60)  idle    Range : 10800 ... 31199 =      9.000 ...    25.999 secsReady.Using 5 HPI coils: 83 143 203 263 323 HzAverage number of coils active during recording: 5.0

查看头部运动轨迹,检测是否有头动严重的被试或者时间段。

head_pos_file = os.path.join(    mne.datasets.testing.data_path(), "SSS", "test_move_anon_raw.pos")head_pos = mne.chpi.read_head_pos(head_pos_file)mne.viz.plot_head_positions(head_pos, mode="traces")

来都来了,点个在看再走吧~~~

最新文章

随机文章

基本 文件 流程 错误 SQL 调试
  1. 请求信息 : 2026-07-03 03:53:59 HTTP/2.0 GET : https://f.mffb.com.cn/a/499553.html
  2. 运行时间 : 0.349024s [ 吞吐率:2.87req/s ] 内存消耗:4,496.05kb 文件加载:140
  3. 缓存信息 : 0 reads,0 writes
  4. 会话信息 : SESSION_ID=8dd045cb26835632a786d958b6f98786
  1. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/public/index.php ( 0.79 KB )
  2. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/autoload.php ( 0.17 KB )
  3. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_real.php ( 2.49 KB )
  4. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/platform_check.php ( 0.90 KB )
  5. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/ClassLoader.php ( 14.03 KB )
  6. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/composer/autoload_static.php ( 4.90 KB )
  7. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper.php ( 8.34 KB )
  8. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/helper.php ( 2.19 KB )
  9. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/helper.php ( 1.47 KB )
  10. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/stubs/load_stubs.php ( 0.16 KB )
  11. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Exception.php ( 1.69 KB )
  12. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Facade.php ( 2.71 KB )
  13. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/deprecation-contracts/function.php ( 0.99 KB )
  14. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap.php ( 8.26 KB )
  15. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/polyfill-mbstring/bootstrap80.php ( 9.78 KB )
  16. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/Resources/functions/dump.php ( 1.49 KB )
  17. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-dumper/src/helper.php ( 0.18 KB )
  18. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/symfony/var-dumper/VarDumper.php ( 4.30 KB )
  19. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/App.php ( 15.30 KB )
  20. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-container/src/Container.php ( 15.76 KB )
  21. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/container/src/ContainerInterface.php ( 1.02 KB )
  22. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/provider.php ( 0.19 KB )
  23. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Http.php ( 6.04 KB )
  24. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Str.php ( 7.29 KB )
  25. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Env.php ( 4.68 KB )
  26. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/common.php ( 0.03 KB )
  27. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/helper.php ( 18.78 KB )
  28. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Config.php ( 5.54 KB )
  29. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/app.php ( 0.95 KB )
  30. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cache.php ( 0.78 KB )
  31. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/console.php ( 0.23 KB )
  32. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/cookie.php ( 0.56 KB )
  33. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/database.php ( 2.48 KB )
  34. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Env.php ( 1.67 KB )
  35. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/filesystem.php ( 0.61 KB )
  36. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/lang.php ( 0.91 KB )
  37. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/log.php ( 1.35 KB )
  38. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/middleware.php ( 0.19 KB )
  39. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/route.php ( 1.89 KB )
  40. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/session.php ( 0.57 KB )
  41. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/trace.php ( 0.34 KB )
  42. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/config/view.php ( 0.82 KB )
  43. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/event.php ( 0.25 KB )
  44. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Event.php ( 7.67 KB )
  45. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/service.php ( 0.13 KB )
  46. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/AppService.php ( 0.26 KB )
  47. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Service.php ( 1.64 KB )
  48. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Lang.php ( 7.35 KB )
  49. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/lang/zh-cn.php ( 13.70 KB )
  50. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/Error.php ( 3.31 KB )
  51. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/RegisterService.php ( 1.33 KB )
  52. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/services.php ( 0.14 KB )
  53. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/PaginatorService.php ( 1.52 KB )
  54. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ValidateService.php ( 0.99 KB )
  55. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/service/ModelService.php ( 2.04 KB )
  56. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Service.php ( 0.77 KB )
  57. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Middleware.php ( 6.72 KB )
  58. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/initializer/BootService.php ( 0.77 KB )
  59. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Paginator.php ( 11.86 KB )
  60. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-validate/src/Validate.php ( 63.20 KB )
  61. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/Model.php ( 23.55 KB )
  62. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Attribute.php ( 21.05 KB )
  63. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/AutoWriteData.php ( 4.21 KB )
  64. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/Conversion.php ( 6.44 KB )
  65. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/DbConnect.php ( 5.16 KB )
  66. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/ModelEvent.php ( 2.33 KB )
  67. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/concern/RelationShip.php ( 28.29 KB )
  68. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Arrayable.php ( 0.09 KB )
  69. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/contract/Jsonable.php ( 0.13 KB )
  70. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/model/contract/Modelable.php ( 0.09 KB )
  71. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Db.php ( 2.88 KB )
  72. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/DbManager.php ( 8.52 KB )
  73. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Log.php ( 6.28 KB )
  74. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Manager.php ( 3.92 KB )
  75. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerTrait.php ( 2.69 KB )
  76. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/log/src/LoggerInterface.php ( 2.71 KB )
  77. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cache.php ( 4.92 KB )
  78. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/psr/simple-cache/src/CacheInterface.php ( 4.71 KB )
  79. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/helper/Arr.php ( 16.63 KB )
  80. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/driver/File.php ( 7.84 KB )
  81. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/cache/Driver.php ( 9.03 KB )
  82. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/CacheHandlerInterface.php ( 1.99 KB )
  83. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/Request.php ( 0.09 KB )
  84. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Request.php ( 55.78 KB )
  85. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/middleware.php ( 0.25 KB )
  86. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Pipeline.php ( 2.61 KB )
  87. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/TraceDebug.php ( 3.40 KB )
  88. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/middleware/SessionInit.php ( 1.94 KB )
  89. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Session.php ( 1.80 KB )
  90. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/driver/File.php ( 6.27 KB )
  91. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/SessionHandlerInterface.php ( 0.87 KB )
  92. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/session/Store.php ( 7.12 KB )
  93. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Route.php ( 23.73 KB )
  94. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleName.php ( 5.75 KB )
  95. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Domain.php ( 2.53 KB )
  96. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleGroup.php ( 22.43 KB )
  97. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Rule.php ( 26.95 KB )
  98. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/RuleItem.php ( 9.78 KB )
  99. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/route/app.php ( 1.72 KB )
  100. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/Route.php ( 4.70 KB )
  101. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/dispatch/Controller.php ( 4.74 KB )
  102. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/route/Dispatch.php ( 10.44 KB )
  103. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/controller/Index.php ( 4.81 KB )
  104. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/app/BaseController.php ( 2.05 KB )
  105. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/facade/Db.php ( 0.93 KB )
  106. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/connector/Mysql.php ( 5.44 KB )
  107. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/PDOConnection.php ( 52.47 KB )
  108. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Connection.php ( 8.39 KB )
  109. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/ConnectionInterface.php ( 4.57 KB )
  110. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/builder/Mysql.php ( 16.58 KB )
  111. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Builder.php ( 24.06 KB )
  112. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseBuilder.php ( 27.50 KB )
  113. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/Query.php ( 15.71 KB )
  114. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/BaseQuery.php ( 45.13 KB )
  115. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TimeFieldQuery.php ( 7.43 KB )
  116. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/AggregateQuery.php ( 3.26 KB )
  117. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ModelRelationQuery.php ( 20.07 KB )
  118. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ParamsBind.php ( 3.66 KB )
  119. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/ResultOperation.php ( 7.01 KB )
  120. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/WhereQuery.php ( 19.37 KB )
  121. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/JoinAndViewQuery.php ( 7.11 KB )
  122. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/TableFieldInfo.php ( 2.63 KB )
  123. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-orm/src/db/concern/Transaction.php ( 2.77 KB )
  124. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/driver/File.php ( 5.96 KB )
  125. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/LogHandlerInterface.php ( 0.86 KB )
  126. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/log/Channel.php ( 3.89 KB )
  127. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/event/LogRecord.php ( 1.02 KB )
  128. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-helper/src/Collection.php ( 16.47 KB )
  129. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/facade/View.php ( 1.70 KB )
  130. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/View.php ( 4.39 KB )
  131. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Response.php ( 8.81 KB )
  132. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/response/View.php ( 3.29 KB )
  133. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/Cookie.php ( 6.06 KB )
  134. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-view/src/Think.php ( 8.38 KB )
  135. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/framework/src/think/contract/TemplateHandlerInterface.php ( 1.60 KB )
  136. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/Template.php ( 46.61 KB )
  137. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/driver/File.php ( 2.41 KB )
  138. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-template/src/template/contract/DriverInterface.php ( 0.86 KB )
  139. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/runtime/temp/067d451b9a0c665040f3f1bdd3293d68.php ( 11.98 KB )
  140. /yingpanguazai/ssd/ssd1/www/f.mffb.com.cn/vendor/topthink/think-trace/src/Html.php ( 4.42 KB )
  1. CONNECT:[ UseTime:0.000532s ] mysql:host=127.0.0.1;port=3306;dbname=f_mffb;charset=utf8mb4
  2. SHOW FULL COLUMNS FROM `fenlei` [ RunTime:0.000720s ]
  3. SELECT * FROM `fenlei` WHERE `fid` = 0 [ RunTime:0.002988s ]
  4. SELECT * FROM `fenlei` WHERE `fid` = 63 [ RunTime:0.006026s ]
  5. SHOW FULL COLUMNS FROM `set` [ RunTime:0.000527s ]
  6. SELECT * FROM `set` [ RunTime:0.016121s ]
  7. SHOW FULL COLUMNS FROM `article` [ RunTime:0.000729s ]
  8. SELECT * FROM `article` WHERE `id` = 499553 LIMIT 1 [ RunTime:0.071465s ]
  9. UPDATE `article` SET `lasttime` = 1783022039 WHERE `id` = 499553 [ RunTime:0.013297s ]
  10. SELECT * FROM `fenlei` WHERE `id` = 66 LIMIT 1 [ RunTime:0.008617s ]
  11. SELECT * FROM `article` WHERE `id` < 499553 ORDER BY `id` DESC LIMIT 1 [ RunTime:0.005133s ]
  12. SELECT * FROM `article` WHERE `id` > 499553 ORDER BY `id` ASC LIMIT 1 [ RunTime:0.068565s ]
  13. SELECT * FROM `article` WHERE `id` < 499553 ORDER BY `id` DESC LIMIT 10 [ RunTime:0.038734s ]
  14. SELECT * FROM `article` WHERE `id` < 499553 ORDER BY `id` DESC LIMIT 10,10 [ RunTime:0.024676s ]
  15. SELECT * FROM `article` WHERE `id` < 499553 ORDER BY `id` DESC LIMIT 20,10 [ RunTime:0.023552s ]
0.350675s