Creating misc-settings.json for mcc_get_settings

I’m trying to convert my abf files to nwb but unsure how to create the required misc-settings.json file. The example shows

    "IN0": "Demo1_1",
    "IN1": "Demo1_2",
    "ScaleFactors": {
        "C1NSD1SHORT": 1.05,
        "C1NSD2SHORT": 1.05,
        "CHIRP": 1,
        "LSFINEST": 1.05,
        "SSFINEST": 7,
        "TRIPPLE": 7
    }
}

Are IN0 and IN1 the amplifer names? If so how do I know the name of the amplifiers. I’ve tried to add the 700B serial number but get an error Ignoring exception Amplifier named 00834031 does not exist..

Thanks!

Hi Damian,

the JSON settings file is generated by ipfx/mcc_get_settings.py at master · AllenInstitute/ipfx · GitHub. This script is used to fetch amplifier settings which are not included in the ABF file and must be run on each data acquisition run.

In case you have already acquired data, the other use case for the settings file and the protocol folder is to supply your stimulus ATF files and accompanying scaling factors.

tl;dr:
For converting arbitrary ABF files you can just ignore the JSON settings file.

A refactored package, reusing the code from ipfx but with some more features, is available from GitHub - byte-physics/x-to-nwb: Convert various patch-clamp data formats to NWBv2. This also accepts a --no-searchSettingsFile flag.

Does that answer your question?