allensdk.api.queries.annotated_section_data_sets_api module¶
- class allensdk.api.queries.annotated_section_data_sets_api.AnnotatedSectionDataSetsApi(base_uri=None)[source]¶
Bases:
RmaApi
See: Searching Annotated SectionDataSets
- get_annotated_section_data_sets(structures, intensity_values=None, density_values=None, pattern_values=None, age_names=None)[source]¶
For a list of target structures, find the SectionDataSet that matches the parameters for intensity_values, density_values, pattern_values, and Age.
- Parameters:
- structure_graph_iddict of integers
what to retrieve
- intensity_valuesarray of strings, optional
‘High’,’Low’, ‘Medium’ (default)
- density_valuesarray of strings, optional
‘High’, ‘Low’
- pattern_valuesarray of strings, optional
‘Full’
- age_namesarray of strings, options
for example ‘E11.5’, ‘13.5’
- Returns:
- datadict
The parsed JSON repsonse message.
Notes
This method uses the non-RMA Annotated SectionDataSet endpoint.
- get_annotated_section_data_sets_via_rma(structures, intensity_values=None, density_values=None, pattern_values=None, age_names=None)[source]¶
For a list of target structures, find the SectionDataSet that matches the parameters for intensity_values, density_values, pattern_values, and Age.
- Parameters:
- structure_graph_iddict of integers
what to retrieve
- intensity_valuesarray of strings, optional
intensity values, ‘High’,’Low’, ‘Medium’ (default)
- density_valuesarray of strings, optional
density values, ‘High’, ‘Low’
- pattern_valuesarray of strings, optional
pattern values, ‘Full’
- age_namesarray of strings, options
for example ‘E11.5’, ‘13.5’
- Returns:
- datadict
The parsed JSON response message.
Notes
This method uses the RMA endpoint to search annotated SectionDataSet data.
- get_compound_annotated_section_data_sets(queries, fmt='json')[source]¶
Find the SectionDataSet that matches several annotated_section_data_sets queries linked together with a Boolean ‘and’ or ‘or’.
- Parameters:
- queriesarray of dicts
dicts with args like build_query
- fmtstring, optional
‘json’ or ‘xml’
- Returns:
- datadict
The parsed JSON repsonse message.