aerosoltools.loaders.Load_Aethalometer_file — aerosoltools 0.1.0 documentation

# aerosoltools.loaders.Load_Aethalometer_file

aerosoltools.loaders.Load_Aethalometer_file(file, extra_data=False)

  Load data from Aethalometer output files.

  This function reads data exported by an Aethalometer, extracting black carbon concentration components and optional metadata into an Aerosolalt object.

  ## Parameters

  filestr

    Path to a .csv or .txt file generated by the Aethalometer.

  extra_databool, optional

    If True, stores all non-primary columns in .extra_data. Default is False.

  ## Returns

  AethalometerAerosolalt

    Object containing: - ‘Datetime’, ‘IR BCc’, ‘Biomass BCc’, ‘Fossil fuel BCc’, and ‘AAE’ columns (in ng/m³) - Metadata including serial number and optical configuration

  ## Raises

  Exception

    If the data file is empty.

  Parameters:

    - file (str)

    - extra_data (bool)

  Return type:

    AerosolAlt