D500 - darktable basecurve / tonecurve

Looking for a darktable basecurve + tonecurve for d500.

I produced one following an older explanation (link) and the README in …/tools/basecurve however I’m not too hapy with the basecurve - and the tonecurve is way off.

darktable still does not include any model-specific basecurve for this cam.

Wondering if anyone has come across a reasonable good basecurve for the cam and could share it

These are the ones I have.

# if it pleases you, then in iop/basecurve.c append the following line to the array basecurve_presets and modify its name
# {"NIKON D500", "NIKON CORPORATION", "NIKON D500", 0, 51200, {{{{0.000000, 0.000000}, {0.003449, 0.002677}, {0.007289, 0.006881}, {0.009466, 0.010079}, {0.013741, 0.018646}, {0.056323, 0.182123}, {0.089808, 0.317637}, {0.145149, 0.483841}, {0.178295, 0.549900}, {0.259576, 0.687037}, {0.386458, 0.826391}, {0.517594, 0.904242}, {0.633269, 0.949439}, {0.705493, 0.969936}, {0.856086, 0.997062}, {1.000000, 1.000000}}}, {16}, {m}}, 0, 1},



# if it pleases you, then in iop/tonecurve.c append the following line to the array preset_camera_curves and modify its name
# {"NIKON D500", "NIKON CORPORATION", "NIKON D500", 0, 51200, {{{{0.000000, 0.000000}, {0.006617, 0.004163}, {0.064585, 0.061286}, {0.094874, 0.105197}, {0.205377, 0.325472}, {0.236826, 0.397460}, {0.287707, 0.503204}, {0.318991, 0.562006}, {0.398694, 0.688926}, {0.517101, 0.812796}, {0.580388, 0.864358}, {0.678644, 0.925619}, {0.717107, 0.941299}, {0.785019, 0.966374}, {0.907583, 0.993853}, {1.000000, 1.000000}, },{{0.000000, 0.000000}, {0.062500, 0.062500}, {0.125000, 0.125000}, {0.187500, 0.187500}, {0.250000, 0.250000}, {0.312500, 0.312500}, {0.375000, 0.375000}, {0.437500, 0.437500}, {0.500000, 0.500000}, {0.562500, 0.562500}, {0.625000, 0.625000}, {0.687500, 0.687500}, {0.750000, 0.750000}, {0.812500, 0.812500}, {0.875000, 0.875000}, {0.937500, 0.937500}, },{{0.000000, 0.000000}, {0.062500, 0.062500}, {0.125000, 0.125000}, {0.187500, 0.187500}, {0.250000, 0.250000}, {0.312500, 0.312500}, {0.375000, 0.375000}, {0.437500, 0.437500}, {0.500000, 0.500000}, {0.562500, 0.562500}, {0.625000, 0.625000}, {0.687500, 0.687500}, {0.750000, 0.750000}, {0.812500, 0.812500}, {0.875000, 0.875000}, {0.937500, 0.937500}, },}, {16, 16, 16}, {2, 2, 2}, 1, 0, 0}},