CTP Win64 JAVA_API

10分钟搭建企业级AI Agent评测平台 AI Agent评测是保障大模型应用落地可信性的关键环节,其本质是将MLOps质量管控理念延伸至提示工程、RAG检索与模型推理全链路。核心在于构建可复现的测试环境、结构化测试集、多维量化指标(如准确率、幻觉率、响应时长)及本地化模型执行能力。Dify提供低代码评测工作流编排,Ollama支撑离线确定性推理,Docker Compose实现环境隔离与一键部署——三者结合,让中小企业无需GPU集群或K8s运维经验,即可建立具备审计性、可归因、可迭代的轻量级Agent质量门禁系统。 阅读详情

1、下载CTP接口完整包(包含编译好的DLL和java工程)和安装swigwin-2.0.11,配置好swigwin系统环境变量

2、解压,演示Win 64位的做法

3、在当前文件夹里面新建src 和 ctp 文件夹,在ctp文件夹里面新建thosttraderapi文件夹

4、在当前文件夹里面新建 various.i  和 thostapi.i 文件

thostapi.i文件内容

%module(directors="1") thosttraderapi 
%include "various.i"
%apply char **STRING_ARRAY { char *ppInstrumentID[] }
%{ 
#include "ThostFtdcMdApi.h"
#include "ThostFtdcTraderApi.h"
%} 
%feature("director") CThostFtdcMdSpi; 
%include "ThostFtdcUserApiDataType.h"
%include "ThostFtdcUserApiStruct.h" 
%include "ThostFtdcMdApi.h"
%feature("director") CThostFtdcTraderSpi;
%include "ThostFtdcTraderApi.h"

various.i 文件内容

/* 
 * char **STRING_ARRAY typemaps. 
 * These typemaps are for C String arrays which are NULL terminated.
 *   char *values[] = { "one", "two", "three", NULL }; // note NULL
 * char ** is mapped to a Java String[].
 *
 * Example usage wrapping:
 *   %apply char **STRING_ARRAY { char **input };
 *   char ** foo(char **input);
 *  
 * Java usage:
 *   String numbers[] = { "one", "two", "three" };
 *   String[] ret = modulename.foo( numbers };
 */
%typemap(jni) char **STRING_ARRAY "jobjectArray"
%typemap(jtype) char **STRING_ARRAY "String[]"
%typemap(jstype) char **STRING_ARRAY "String[]"
%typemap(in) char **STRING_ARRAY (jint size) {
    int i = 0;
    size = JCALL1(GetArrayLength, jenv, $input);
#ifdef __cplusplus
    $1 = new char*[size+1];
#else
    $1 = (char **)calloc(size+1, sizeof(char *));
#endif
    for (i = 0; i<size; i++) {
        jstring j_string = (jstring)JCALL2(GetObjectArrayElement, jenv, $input, i);
        const char *c_string = JCALL2(GetStringUTFChars, jenv, j_string, 0);
#ifdef __cplusplus
        $1[i] = new char [strlen(c_string)+1];
#else
        $1[i] = (char *)calloc(strlen(c_string)+1, sizeof(const char *));
#endif
        strcpy($1[i], c_string);
        JCALL2(ReleaseStringUTFChars, jenv, j_string, c_string);
        JCALL1(DeleteLocalRef, jenv, j_string);
    }
    $1[i] = 0;
}

%typemap(freearg) char **STRING_ARRAY {
    int i;
    for (i=0; i<size$argnum-1; i++)
#ifdef __cplusplus
      delete[] $1[i];
    delete[] $1;
#else
      free($1[i]);
    free($1);
#endif
}

%typemap(out) char **STRING_ARRAY {
    int i;
    int len=0;
    jstring temp_string;
    const jclass clazz = JCALL1(FindClass, jenv, "java/lang/String");

    while ($1[len]) len++;    
    jresult = JCALL3(NewObjectArray, jenv, len, clazz, NULL);
    /* exception checking omitted */

    for (i=0; i<len; i++) {
      temp_string = JCALL1(NewStringUTF, jenv, *result++);
      JCALL3(SetObjectArrayElement, jenv, jresult, i, temp_string);
      JCALL1(DeleteLocalRef, jenv, temp_string);
    }
}

%typemap(javain) char **STRING_ARRAY "$javainput"
%typemap(javaout) char **STRING_ARRAY  {
    return $jnicall;
  }

/* 
 * char **STRING_OUT typemaps. 
 * These are typemaps for returning strings when using a C char ** parameter type.
 * The returned string appears in the 1st element of the passed in Java String array.
 *
 * Example usage wrapping:
 *   void foo(char **string_out);
 *  
 * Java usage:
 *   String stringOutArray[] = { "" };
 *   modulename.foo(stringOutArray);
 *   System.out.println( stringOutArray[0] );
 */
%typemap(jni) char **STRING_OUT "jobjectArray"
%typemap(jtype) char **STRING_OUT "String[]"
%typemap(jstype) char **STRING_OUT "String[]"
%typemap(javain) char **STRING_OUT "$javainput"

%typemap(in) char **STRING_OUT($*1_ltype temp) {
  if (!$input) {
    SWIG_JavaThrowException(jenv, SWIG_JavaNullPointerException, "array null");
    return $null;
  }
  if (JCALL1(GetArrayLength, jenv, $input) == 0) {
    SWIG_JavaThrowException(jenv, SWIG_JavaIndexOutOfBoundsException, "Array must contain at least 1 element");
    return $null;
  }
  $1 = &temp; 
}

%typemap(argout) char **STRING_OUT {
  jstring jnewstring = NULL;
  if($1) {
     jnewstring = JCALL1(NewStringUTF, jenv, *$1);
  }
  JCALL3(SetObjectArrayElement, jenv, $input, 0, jnewstring); 
}

/* 
 * char *BYTE typemaps. 
 * These are input typemaps for mapping a Java byte[] array to a C char array.
 * Note that as a Java array is used and thus passeed by reference, the C routine 
 * can return data to Java via the parameter.
 *
 * Example usage wrapping:
 *   void foo(char *array);
 *  
 * Java usage:
 *   byte b[] = new byte[20];
 *   modulename.foo(b);
 */
%typemap(jni) char *BYTE "jbyteArray"
%typemap(jtype) char *BYTE "byte[]"
%typemap(jstype) char *BYTE "byte[]"
%typemap(in) char *BYTE {
    $1 = (char *) JCALL2(GetByteArrayElements, jenv, $input, 0); 
}

%typemap(argout) char *BYTE {
    JCALL3(ReleaseByteArrayElements, jenv, $input, (jbyte *) $1, 0); 
}

%typemap(javain) char *BYTE "$javainput"

/* Prevent default freearg typemap from being used */
%typemap(freearg) char *BYTE ""

5、当前文件夹 Shift+右键打开命令行窗口,执行

swig.exe -c++ -java -package ctp.thosttraderapi -outdir src -o thosttraderapi_wrap.cpp thostapi.i

将会生成thosttraderapi_wrap.cpp 和thosttraderapi_wrap.h

6、进入src目录,执行javac *.java

cd src
javac *.java

7、把src中所有的.class文件复制到ctp的thosttraderapi文件夹中

8、回到解压目录执行jar cf thosttraderapi.jar ctp  命令

cd ..
jar cf thosttraderapi.jar ctp

会生成  thosttraderapi.jar 包

9、打开VS2013

新建-》项目-》WIN32项目-》DLL

在源文件中加入下面的八个文件,在thosttraderapi_wrap.cpp第一行加入#include "stdafx.h"

调试,把错误的方法注释掉。最后生成thosttraderapi_wrap.dll

包最后生成的thosttraderapi_wrap.dll 、thosttraderapi.dll、thostmduserapi.dll 放到 %JAVA_HOME%/bin 目录下面。

新建一个spring boot 工程

application.properties

ctp.MdAddress=tcp://180.168.146.187:10010
ctp.instruementids=v1901,cu1811
ctp.BrokerId=9999
ctp.UserId=127630
ctp.PassWord=123456
package com.ctp.thosttraderapi;

import ctp.thosttraderapi.*;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
public class MdspiImpl extends CThostFtdcMdSpi{
    private String m_BrokerId;
    private String m_UserId;
    private String m_PassWord;
    public String instruementids;//合约代码
    public CThostFtdcMdApi m_mdapi;

    public MdspiImpl(CThostFtdcMdApi mdapi){
        m_mdapi = mdapi;
    }

    @Override
    public void OnFrontConnected(){
        System.out.println("On Front Connected");
        CThostFtdcReqUserLoginField field = new CThostFtdcReqUserLoginField();
        field.setBrokerID(m_BrokerId);
        field.setUserID(m_UserId);
        field.setPassword(m_PassWord);
        m_mdapi.ReqUserLogin(field, 1);

    }

    @Override
    public void OnRspUserLogin(CThostFtdcRspUserLoginField pRspUserLogin, CThostFtdcRspInfoField pRspInfo, int nRequestID, boolean bIsLast) {
        if (pRspUserLogin != null) {
            System.out.printf("Brokerid[%s]\n",pRspUserLogin.getBrokerID()+",登陆成功"+pRspUserLogin.getUserID()+","+nRequestID);
        }
        if (pRspInfo.getErrorID()!=0){
            System.out.println(pRspInfo.getErrorID()+","+pRspInfo.getErrorMsg());
        }
        int i =  m_mdapi.SubscribeMarketData(instruementids.trim().split(","),instruementids.trim().split(",").length);
        if (i==0) System.out.println("订阅成功");
        System.out.println("交易日"+this.m_mdapi.GetTradingDay());
    }

    @Override
    public void OnRspSubMarketData(CThostFtdcSpecificInstrumentField pSpecificInstrument, CThostFtdcRspInfoField RspInfo, int nRequestID, boolean bIsLast){
        if (RspInfo.getErrorID()!=0){
            System.out.println(pSpecificInstrument.getInstrumentID());
            System.out.println(RspInfo.getErrorID()+","+RspInfo.getErrorMsg());
        }
        super.OnRspSubMarketData(pSpecificInstrument,RspInfo,nRequestID,bIsLast);
    }
    @Override
    public void OnRspUnSubMarketData(CThostFtdcSpecificInstrumentField pSpecificInstrument, CThostFtdcRspInfoField pRspInfo, int nRequestID, boolean bIsLast) {
        System.out.println("OnRspUnSubMarketData");
        super.OnRspUnSubMarketData(pSpecificInstrument, pRspInfo, nRequestID, bIsLast);
    }

    @Override
    public void OnRtnDepthMarketData(CThostFtdcDepthMarketDataField pDepthMarketData) {
        if (pDepthMarketData != null)
        {
            System.out.printf("合约代码[%s]最新价[%f]时间[%s]\n",pDepthMarketData.getInstrumentID(),pDepthMarketData.getLastPrice(),pDepthMarketData.getTradingDay()+" "+pDepthMarketData.getUpdateTime()+":"+pDepthMarketData.getUpdateMillisec());
        }
        else
        {
            System.out.printf("NULL obj\n");
        }
    }
    @Override
    public void OnFrontDisconnected(int nReason) {
        /*
        如果客户端到行情前置的无身份验证连接建立失败,这个函数被调用。其中的参数说明连接失败的原因
         */
        super.OnFrontDisconnected(nReason);
        System.out.println("连接失败!!!" + nReason);
    }
    /**
     * 如果交易系统无法识别客户端发送的请求消息,就通过这个函数返回错误信息
     * @param pRspInfo
     * @param nRequestID
     * @param bIsLast
     */
    @Override
    public void OnRspError(CThostFtdcRspInfoField pRspInfo, int nRequestID, boolean bIsLast) {
        System.out.println("OnRspError");
        super.OnRspError(pRspInfo, nRequestID, bIsLast);
    }

    /**
     * 如果超过一定时间在客户端和系统之间没有任何消息交换发生,这个函数会发送心跳用来说明客户端到系统服务器之间的连接是活跃的。
     目前此接口已经不再起效
     * @param nTimeLapse
     */
    @Override
    public void OnHeartBeatWarning(int nTimeLapse) {
        System.out.println("OnHeartBeatWarning");
        super.OnHeartBeatWarning(nTimeLapse);
    }
}
package com.ctp.thosttraderapi;

import ctp.thosttraderapi.CThostFtdcMdApi;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(1)
public class ThostmdUserStart implements ApplicationRunner {
    static{
        System.out.println("java.library.path:"+System.getProperty("java.library.path"));
        System.loadLibrary("thostmduserapi");
        System.loadLibrary("thosttraderapi");
        System.loadLibrary("thosttraderapi_wrap");
    }

    @Value("${ctp.MdAddress}")
    private String ctp1_MdAddress;//前置机地址
    @Value("${ctp.BrokerId}")
    private String m_BrokerId;
    @Value("${ctp.UserId}")
    private String m_UserId;
    @Value("${ctp.PassWord}")
    private String m_PassWord;
    @Value("${ctp.instruementids}")
    public String instruementids;//合约代码

    @Override
    public void run(ApplicationArguments applicationArguments) throws Exception {
        CThostFtdcMdApi mdApi = CThostFtdcMdApi.CreateFtdcMdApi();
        MdspiImpl pMdspiImpl = new MdspiImpl(mdApi);
        pMdspiImpl.setInstruementids(instruementids);
        pMdspiImpl.setM_BrokerId(m_BrokerId);
        pMdspiImpl.setM_UserId(m_UserId);
        pMdspiImpl.setM_PassWord(m_PassWord);
        mdApi.RegisterSpi(pMdspiImpl);
        mdApi.RegisterFront(ctp1_MdAddress);
        mdApi.Init();
        mdApi.Join();
    }
}

 

启动程序

 .   ____          _            __ _ _
 /\\ / ___'_ __ _ _(_)_ __  __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
 \\/  ___)| |_)| | | | | || (_| |  ) ) ) )
  '  |____| .__|_| |_|_| |_\__, | / / / /
 =========|_|==============|___/=/_/_/_/
 :: Spring Boot ::        (v2.0.5.RELEASE)

2018-10-12 13:59:56.724  INFO 16672 --- [           main] com.ctp.ThosttraderapiApplication        : Starting ThosttraderapiApplication on XTZ-20180628ENV with PID 16672 (E:\GitCode\Payment\ThostTraderAPI\target\classes started by Administrator in E:\GitCode\Payment\ThostTraderAPI)
2018-10-12 13:59:56.826  INFO 16672 --- [           main] com.ctp.ThosttraderapiApplication        : No active profile set, falling back to default profiles: default
2018-10-12 13:59:56.857  INFO 16672 --- [           main] s.c.a.AnnotationConfigApplicationContext : Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@1d548a08: startup date [Fri Oct 12 13:59:56 CST 2018]; root of context hierarchy
2018-10-12 13:59:58.719  INFO 16672 --- [           main] o.s.j.e.a.AnnotationMBeanExporter        : Registering beans for JMX exposure on startup
2018-10-12 13:59:58.728  INFO 16672 --- [           main] com.ctp.ThosttraderapiApplication        : Started ThosttraderapiApplication in 2.376 seconds (JVM running for 3.318)
On Front Connected
Brokerid[,登陆成功,0]
订阅成功
交易日20181012
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:07:0]
合约代码[cu1811]最新价[50650.000000]时间[20181012 14:00:06:500]
合约代码[cu1811]最新价[50660.000000]时间[20181012 14:00:07:500]
合约代码[cu1811]最新价[50660.000000]时间[20181012 14:00:08:0]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:08:0]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:08:500]
合约代码[cu1811]最新价[50660.000000]时间[20181012 14:00:09:0]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:09:0]
合约代码[v1901]最新价[6710.000000]时间[20181012 14:00:09:500]
合约代码[cu1811]最新价[50660.000000]时间[20181012 14:00:10:0]
合约代码[v1901]最新价[6710.000000]时间[20181012 14:00:10:0]
合约代码[cu1811]最新价[50660.000000]时间[20181012 14:00:10:500]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:10:500]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:11:500]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:12:0]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:12:500]
合约代码[cu1811]最新价[50660.000000]时间[20181012 14:00:12:500]
合约代码[v1901]最新价[6715.000000]时间[20181012 14:00:13:0]
合约代码[cu1811]最新价[50660.000000]时间[20181012 14:00:13:500]
合约代码[v1901]最新价[6710.000000]时间[20181012 14:00:13:500]
合约代码[v1901]最新价[6710.000000]时间[20181012 14:00:14:0]
合约代码[v1901]最新价[6710.000000]时间[20181012 14:00:15:0]

 

CTP-API开发系列之十:v6.7.0-Python版封装(Windows/Linux) 本次分享将采用Swig工具(Swig是一种软件开发工具,可将用 C 和 C++ 编写的程序与各种高级编程语言连接起来),将C++语言版本的 CTP-API 封装成 Python版本,Windows/Linux系统下分别进行封装。 阅读详情

相关推荐

上期CTP_API_C++可实盘的源代码(更新).rar

上期CTP API C++ 源代码 单合约版 下载文件名AutoTrader_ctp_c++源代码.rar 填入经纪公司代码,实盘帐号,密码即可完成行情接收,指标计算,实盘下单连续开平仓。 功能简要介绍如下: 自动保存订阅合约TICK数据到\Bin\TickData下,文件名:合约名称_日期.txt 自动保存下单数据到\Bin\AutoTrade下,文件名:日期.txt MD线程只负责TICK行情接收和缓存,根据TICK数据生成1分钟K线 TRADE线程负责下单及响应,可连续开平仓,本人实盘测试过。 附简单独立的指标计算以及下单控制部分。 增加读写配置文件部分,可根据需要自行调整修改。 附上期CTP仿真帐号以及密码,盘后也可进行测试。 上期ctp库版本为2013-12-05 编译版本VS2008

从编程小白到量化宗师之路---期货CTP高频数据Tick下载(含穿透式监管,包含全部C++源代码)

这是《从编程小白到量化宗师之路》系列的第一个高级课程。本课程宗旨是缩短个人和小型结构投资者和大型机构投资者的差距。课程内容从C++环境的安装开始使用,到期货数据采集,完美实现一套期货交易高频软件开发(也可做虚拟货币交易)。课程注重实战,学员上课后,可以达到:日常进行的高频交易,自定添加新的股票接口,添加新的虚拟货币交易所。《《编程小白到量化宗师之路---高频交易系统编写---期货CTP高频数据Tick下载》是上述课程的拆分课程,便于同学们自己针对性选择学习。本可能涵盖C++环境安装 cmake, VS2019,从现在上期技术的CTP API直到编写行情和交易部分代码,最终完成一个每天自动下载全市场行情数据的工具应用编写。

CTP开发包和范例(Delphi版本)

CTP开发包,CTP期货客户端开发包,内含Delphi源代码。

C++连接CTP接口实现简单量化交易(行情、交易、k线、策略)

本文章和相关代码已不再更新,在行业合规的范围内,进一步的量化金融技术交流,可以扫码咨询 对于量化交易来说,量化策略和技术系统缺一不可,为了知其所以然,本文实现了一个C++连接CTP接口进行仿真交易的demo,从接收行情、下订单、数据处理到添加策略、挂载运行交易等多个环节来看一下量化交易的最简单流程,管中窥豹,一探究竟。 准备工作 交易所接口 这里使用上期所提供的CTP接口API,通过...

踏莎行的博客 12万+

CTP看穿式监管版本api ,2022.3.16日更新,6.3.15_demo VS2019版本.rar

国内期货交易平台CTP行情apiDemo,对开发程序化交易的朋友有帮助,22年3月更新,支持使用simnow仿真账号,注意看使用说明

CTPwin32JavaAPI.

CTP上期技术 API Java

如何快速上手openctp:量化交易开发者的完整CTPAPI兼容指南

openctp是一个功能强大的**量化交易开发平台**,为开发者提供了完整的CTPAPI兼容接口生态。无论是期货、股票、期权还是基金交易,这个开源项目都能帮助你快速接入各大券商柜台系统,构建专业的量化交易系统。 ## 📊 为什么选择openctp?三大核心优势 如果你正在寻找一个能够统一对接多个交易柜台的解决方案,openctp绝对值得关注。以下是它的核心优势: | 优势 | 说明 | 适

gitblog_00761的博客 471

上期所CTP-Api之C++行情Demo版(可保存数据到本地)

上期所CTP-Api之C++行情Demo版,到SIMNOW申请模拟账号后,可以实时接收所有期货数据。

CTP JAVA API(JCTP) 64位 2in1及CTP JAVA订阅全市场行情DEMO

前言 前面文章将traderapi和mdapi分开来打包,这样就会有两个jar包,里面有些结构体是完全重复的,给一些人造成困惑。其实分开打包的目的主要是方便需要单独用的人,有的人只想接交易,有的人只想接行情。这里根据别人编译的经验,给出一个合并在一起打包的方案,并且给了一个订阅全市场合约行情的demo,大家共同探讨。全部的代码及release版本都在github: https://github.c...

景色正好的专栏 8232

Java-CTP.rar_CTP PHP接口_CTP接口java_Java-CTP_ctp java_ctp-java

上期CTP接口Java封装 可以使用该封装进行期货交易,并且可以搭建自己的程序化交易平台

CTP_API_ctp_交易开发实例_

ctp行情开发实例,可以应用于ctp交易基础的研究学习

ctp java_CTP API 开发之二 :制作CTP java版 API

目前上期技术CTP系统提供的API版本是C++版本SWIG是一个能将C/C++接口转换为其他语言的工具,目前可以支持Python,Java,R等语言。本文主要介绍Windows 32/64位平台下利用Swig工具将CTP C++接口API转换为Java可调用的接口。1、从CTP官网下载最新API包,包中包含32位和64位。API文件包清单:2、下载安装Swig软件:3、在API文件包中创建thos...

weixin_36336710的博客 1665

信捷CODESYS平台伺服电机转矩控制模式应用与切换

信捷CODESYS二次开发软件:XS Studio 在运动控制中的转矩控制案例

weixin_64614866的博客 1万+

【转】CTP Python API及Demo(利用Swig 封装)Windows版(mduserapi)

原文链接:https://blog.csdn.net/pjjing/article/details/77338482 1. 环境准备:   1) VS 2015   2) Python 3.7 64位 3) CTP API (从 http://www.sfit.com.cn/5_2_DocumentDown.htm 下载,此文档使用的是 http://www.sfi...

weixin_30843605的博客 647

KEIL5编译报错L6200E:__stdout重定义问题分析与解决

本文深入分析KEIL5编译报错L6200E中__stdout重定义问题的根源,指出因未完整定义__stderr导致与标准库stdio_streams.o冲突。提供完整重定义标准流、启用MicroLIB库等解决方案,帮助开发者彻底解决Symbol multiply defined错误,提升嵌入式开发效率。

uran的专栏 965

老MacBook Pro A1278安装Win11避坑指南:解决蓝屏、无声和绕过TPM的保姆级教程

本文提供老款MacBook Pro A1278安装Windows 11的详细教程,涵盖绕过TPM检测、解决蓝屏和声卡驱动问题等关键步骤。通过硬件升级、驱动修改和系统优化,让这台经典机型焕发新生,实现稳定运行Windows 11的目标。

weixin_33724570的博客 449

【免费下载】 上期所CTP-API c++ 行情接口 linux 版本

此仓库提供了上期所CTP-API的c++行情接口,适用于linux系统。此版本经过测试,证实能够有效运行。此外,我还基于此版本改编了一套适用于windows系统的版本。 ## 文件说明 - `future.tar.gz`:上期所CTP-API c++ 行情接口的linux版本压缩包。 ## 注意事项 - 本资源仅为上期所行情模拟接口,实际交易时请谨慎使用。 - 如需使用windows版本,...

gitblog_06771的博客 685

毫米波雷达之CFAR 目标检测

恒虚警率(CFAR)算法是一种广泛应用于雷达目标检测的算法,其主要目 标是减少由于杂波与回波之间强度不对称而引起的误报,以确保相对恒定的虚警 率。如图 3.4(a)所示,表示由距离单元组成的一维数据。在待测单元 D 周围选 择若干个背景杂波功率的蓝色单元构成参考滑窗,称为参考单元;而待测单元 D 相邻的若干个不用于背景估计的单元则称为保护单元。当参考单元和保护单元的 维度从一维扩展到二维时,相应的 CFAR 检测由一维 CFAR 演变为二维 CFAR 以处理参考窗口,如图 3.4 (b)所示。

m0_56120826的博客 4928

maven打包jar

mvn install:install-file -DgroupId=groudid-DartifactId=artifactId -Dversion=1.2 -Dfile=jar地址/thostapi.jar -Dpackaging=jar -DgeneratePom=true <dependency> <groupId>ctp.thostap...

29岁的裴野永远爱你 197

用Python+NumPy手把手实现分数阶傅里叶变换(FRFT),搞定线性调频信号分析

本文详细介绍了如何使用Python和NumPy实现分数阶傅里叶变换(FRFT),特别针对线性调频信号(Chirp信号)分析。通过从零开始的代码实现和可视化案例,展示了FRFT在时变信号处理中的强大能力,帮助工程师和研究人员高效分析频率随时间变化的信号。

weixin_29062823的博客 225

AF3​​​​​​​ Msa、TemplateHit、HitMetadata类解读

Msa:处理 多序列比对 (MSA) 结果,为 AlphaFold3 提供 序列进化信息。 TemplateHit:存储 查询序列与模板结构的比对信息,用于 筛选模板。 HitMetadata:提供 比对模板的 PDB 结构信息,帮助 解析和使用模板数据。

qq_27390023的博客 827
上一篇: Linux 设置java.library.path
下一篇: CTP Linux64 JAVA_API
Rich_Billions
博客等级 码龄15年 41粉丝 103原创
评论 5
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值