|
|
@ -24,7 +24,7 @@ other useful functions for working with the data. |
|
|
|
enhanced_data = sensospot_data.apply_exposure_map(raw_data, exposure_map) |
|
|
|
enhanced_data = sensospot_data.apply_exposure_map(raw_data, exposure_map) |
|
|
|
|
|
|
|
|
|
|
|
# split the measurement according to channels |
|
|
|
# split the measurement according to channels |
|
|
|
channels = sensospot_data.split_data_frame(enhanced_data "Exposure.Channel") |
|
|
|
channels = sensospot_data.split(enhanced_data "Exposure.Channel") |
|
|
|
|
|
|
|
|
|
|
|
# merge the two cy5 measurements together, creating an extended dynamic range |
|
|
|
# merge the two cy5 measurements together, creating an extended dynamic range |
|
|
|
cy5_xdr = sensospot_data.create_xdr(channels["cy5"], normalized_time=25) |
|
|
|
cy5_xdr = sensospot_data.create_xdr(channels["cy5"], normalized_time=25) |
|
|
@ -40,7 +40,7 @@ from .parser import parse_file, parse_folder # noqa: F401 |
|
|
|
- **parse_file(path_to_csv_file)** |
|
|
|
- **parse_file(path_to_csv_file)** |
|
|
|
Parses the csv file into a pandas data frame and will add additional some |
|
|
|
Parses the csv file into a pandas data frame and will add additional some |
|
|
|
meta data from the file name. Is internally also used by `parse_folder()` |
|
|
|
meta data from the file name. Is internally also used by `parse_folder()` |
|
|
|
- **split_data_frame(data_frame, column)** |
|
|
|
- **split(data_frame, column)** |
|
|
|
Splits a data frame based on the unique values of a column. Will return a |
|
|
|
Splits a data frame based on the unique values of a column. Will return a |
|
|
|
dict, with the unique values as keys and the corresponding data frame as |
|
|
|
dict, with the unique values as keys and the corresponding data frame as |
|
|
|
value |
|
|
|
value |
|
|
|