Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upload .csv file for fitting makes the program crash #27

Open
giovannideangelis97 opened this issue Jun 21, 2023 · 1 comment
Open

Upload .csv file for fitting makes the program crash #27

giovannideangelis97 opened this issue Jun 21, 2023 · 1 comment

Comments

@giovannideangelis97
Copy link

I'm trying to upload .csv file in Focus_point_mac_1_16_208 in order to fit my FCS curves. My .csv file consists in two columns with G(tau) and tau as columns name. Whenever I load this file the software simply crashes.
Do you maybe have an idea why it's not working? Could you maybe help me ?
Thank you very much in advance,

Giovanni

These are the information of my system :

macOS Ventura 13.4
Python version 3.9.13

@aseltmann
Copy link

aseltmann commented Oct 21, 2023

Hi Giovanni, all correlations I fitted with Focus point were .csv files and it worked fine, BUT a problem might be to figure out the right metadata in front. E.g. here is how my .csv files look like and which metadata it carries:

version,3.0
numOfCH,1
type,point
parent_name,tttr2xfcs
ch_type,2_2
kcount,345.29884942471233
numberNandB,75.04547705696699
brightnessNandB,4.601424861434329
carpet pos,0
pc,0
Time (ms),CH2 Auto-Correlation
1e-06,-1.0
2e-06,-1.0
3e-06,-1.0
4e-06,-1.0
5e-06,-1.0
6e-06,-1.0
8e-06,-1.0
1e-05,-1.0
1.2e-05,-1.0
1.4e-05,-1.0
1.6e-05,-1.0
1.8e-05,-1.0
2.2e-05,-1.0
2.6e-05,-1.0
3e-05,-1.0
3.4e-05,-1.0
3.8e-05,-1.0
4.2e-05,-1.0
5e-05,-1.0
5.8e-05,-1.0
6.6e-05,-1.0
7.4e-05,-0.4913854392720691
8.2e-05,-0.6976003753862094
9e-05,-1.0
0.000106,-0.19134585100311785
0.000122,0.4583990279072758
0.000138,0.07853768904358072
0.000154,-0.2279526697871871
0.00017,0.6073437004442392
0.000186,-0.15059584266289983
0.000218,0.1896430763547985
0.00025,0.05540932154256906
0.000282,0.024545262721365146
0.000314,0.06794375631998206
0.000346,0.16538713770869595
0.000378,0.02535817480261615
0.000442,0.10263634004267774
0.000506,0.03378877095807309
0.00057,0.09851939757453865
0.000634,0.03810241071426934
0.000698,0.084818075048807
0.000762,0.07326700293636046
0.00089,0.07126753929273044
0.001018,0.07177889477654631
0.001146,0.0683568520319795
0.001274,0.06848797899007142
0.001402,0.07111681389883406
0.00153,0.07273607662082826
0.001786,0.06851097854812305
0.002042,0.0670654819321399
0.002298,0.06844875447014309
0.002554,0.0680587197886664
0.00281,0.06187019954755302
0.003066,0.06480716466261893
0.003578,0.06440076795706862
0.00409,0.0637632839951301
0.004602,0.06275540483873687
0.005114,0.0633716919144165
0.005626,0.059195786714407284
0.006138,0.05733894829136177
0.007162,0.05631145570711671
0.008186,0.05727360825755179
0.00921,0.0527584995348358
0.010234,0.05388044636726752
0.011258,0.05211953738519126
0.012282,0.05078802449540887
0.01433,0.04854660957749446
0.016378,0.04770892737769006
0.018426,0.04601818761617249
0.020474,0.044835921813557444
0.022522,0.04264531034158514
0.02457,0.04211123613431855
0.028666,0.03905118412555186
0.032762,0.03673397060553407
0.036858,0.03488118464848333
0.040954,0.03349467061314093
0.04505,0.03176603023738478
0.049146,0.030928553263603664
0.057338,0.02845052393434866
0.06553,0.026454642230198333
0.073722,0.024770153542914564
0.081914,0.02295782561851878
0.090106,0.02135179510265406
0.098298,0.02034991321263968
0.114682,0.01807966399104388
0.131066,0.017217766581437477
0.14745,0.015205945121891107
0.163834,0.014111259108213314
0.180218,0.012932932078435266
0.196602,0.01263620154952294
0.22937,0.010709833146824055
0.262138,0.009615633408351476
0.294906,0.00885810557446276
0.327674,0.007957982428915766
0.360442,0.0075957700489825974
0.39321,0.006982330356519961
0.458746,0.006248134955840534
0.524282,0.005350273044171239
0.589818,0.004870257902770403
0.655354,0.004313829813773484
0.72089,0.0036279875742870615
0.786426,0.003485172340080167
0.917498,0.0028760703788630604
1.04857,0.0022256551140455993
1.179642,0.0019587103130613848
1.310714,0.0017842541428028103
1.441786,0.001567713286166006
1.572858,0.0013912240564435407
1.835002,0.0014288006972398293
2.097146,0.001172445959380486
2.35929,0.0012633281876264224
2.621434,0.0014262759545264903
2.883578,0.0009734496951130378
3.145722,0.0008033984449842269
3.67001,0.0003941436484318217
4.194298,0.0003514270399982422
4.718586,0.0001937771416926637
5.242874,0.0003559198372724559
5.767162,0.0004163632722884447
6.29145,0.00024495579215422225
7.340026,0.00046442703919091777
8.388602,0.0004251409935531747
9.437178,0.00021570135698278925
10.485754,-5.472536278650075e-05
11.53433,0.0001180683863348797
12.582906,-0.00016661893022662522
14.680058,-7.769058147710783e-05
16.77721,-2.9713731143798938e-05
18.874362,6.506151477125854e-06
20.971514,-0.00012444041209180856
23.068666,-0.0002370851215826031
25.165818,-0.00010916948776040769
29.360122,-0.0002643609616593823
33.554426,-0.00015102776263875572
37.74873,-6.294897231473584e-05
41.943034,3.5218815631177236e-05
46.137338,-0.00023045127633203322
50.331642,-1.1151488763516682e-05
58.72025,-0.0003929907019186718
67.108858,-0.00048493633532675773
75.497466,-0.0004183708430040012
83.886074,-0.000520203420763754
92.274682,-0.0006240225345796047
100.66329,-0.00034502232263466937
117.440506,-0.00138758681804374
134.217722,-0.001251570114396694
150.994938,-0.0011902272696792116
167.772154,-0.0012134889599524357
184.54937,-0.0008773314797472231
201.326586,-0.0009238751294199377
234.881018,-0.002525474223968871
268.43545,-0.002723051315896008
301.989882,-0.002724084842270713
335.544314,-0.0024929649442169133
369.098746,-0.002305610643365652
402.653178,-0.0024501109079416716
469.762042,-0.005909295180582919
536.870906,-0.006229430819210124
603.97977,-0.005990544395447217
671.088634,-0.006034875952633967
738.197498,-0.006128365692709248
805.306362,-0.00624278320127114
939.52409,-0.007150474960442743
1073.741818,-0.007304278836120948
1207.959546,-0.007868327360105676
1342.177274,-0.007214709192272073
1476.395002,-0.006752200552535892
1610.61273,-0.006477800305554782
1879.048186,-0.007002757685056982
2147.483642,-0.007752670626278491
2415.919098,-0.008445960501462957
2684.354554,-0.008442225239017387
2952.79001,-0.008883582577165705
3221.225466,-0.008772791105747357
3758.096378,-0.05122842799800886
4294.96729,-0.05604439076171397
4831.838202,-0.06399284839715214
5368.709114,-0.07380186210372008
5905.580026,-0.08352751106756928
6442.450938,-0.09530638863540875
end

If you stick to this file structure, you should be fine. If it still doesn't work send me an example file and I'll have a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants