"""dataset_id = int(request.GET.get("dataset_id"))ifdataset_idisNone:returnJsonResponse({"status":"failure","message":"Dataset id is not provided"}) dataset = Dataset.objects.get(pk=dataset_id) file_path = dataset.path delete_features = json.loads(dataset.deleted_features)# Create a ...
开发者ID:kasthack,项目名称:Timelapser,代码行数:5,代码来源:frmMain.cs 示例6: makeLayer ▲点赞 1▼ //, int Alpha)publicvoidmakeLayer(String RedDataSetName, String GreenDataSetName, String BlueDataSetName){//blue onlyViewArea = Control.ViewArea;//int x = (int)Control.FromLatLngToLocal(View...
timeStamp = time.process_time()# Start Timefunc(graph)# run p functiontimeLapse = time.process_time() - timeStamp print('timeLapse = ', timeLapse)ifit==1:# Add first element, append restx_y_arr[x] = [timeLapse]else: x_y_arr[x].append(timeLapse)# Average runtimes for each xforkin...
} 开发者ID:fiji,项目名称:SPIM_Registration,代码行数:12,代码来源:MouseListenerTimelapse.java 示例10: addData ▲点赞 2▼ importorg.jfree.chart.plot.ValueMarker;//导入方法依赖的package包/类publicvoidaddData(intdatasetIndex,doublex,doubley){ XYSeries series = dataCollection.get(datasetIndex).getSer...
importmpicbg.spim.data.sequence.TimePoints;//导入依赖的package包/类MouseListenerTimelapse(finalTimePointstimepoints,finalChartPanel panel,finalintreferenceTimePoint,finalbooleanenableReferenceTimePoint ) {this.timepoints = timepoints;this.panel = panel;this.referenceTimePoint = referenceTimePoint;this.enable...
output['calls'] +=1returnnp.random.rand(10,10,10)# then make a mock "timelapse" of 3D stacks# see https://napari.org/tutorials/applications/dask.html for details_list = [get_array()forfninrange(20)] output['stack'] = da.stack( ...
开发者ID:haltakov,项目名称:synthetic-dataset,代码行数:35,代码来源:sprite2d.cpp 示例3: LoadPhysics ▲点赞 5▼ boolCAR::LoadPhysics(constPTree & cfg,conststd::string& carpath,constMATHVECTOR <float,3> & initial_position,constQUATERNION <float> & initial_orientation,constbooldefaultabs,constbool...
delay = get_timelapse_delay(dawn, dusk) time_zone_info = dawn.tzinfo#Get the datetime so we can make a folder for it.raw_time = arrow.now(time_zone_info) formatted_time = raw_time.format('YYYY_MM_DD-HH_mm_ss')#Build the folder path for datetime.image_folder = os.path.join(fold...
开发者ID:jvzonlab,项目名称:timelapse-natcomm-2016,代码行数:103,代码来源:GUI_oscillation.py 示例11: GUI ▲点赞 1▼ # 需要导入模块: from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg [as 别名]# 或者: from matplotlib.backends.backend_qt4agg.FigureCanvasQTAgg importsize[as 别名]...
本文整理匯總了Python中ij.IJ.getDirectory方法的典型用法代碼示例。如果您正苦於以下問題:Python IJ.getDirectory方法的具體用法?Python IJ.getDirectory怎麽用?Python IJ.getDirectory使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ij.IJ的用法示例。