> For the complete documentation index, see [llms.txt](https://docs.ladybug.tools/ladybug-primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ladybug.tools/ladybug-primer/components/1_analyzedata/apply_analysis_period.md).

# Apply Analysis Period

![](/files/-MihilHBXk455o7syYAQ)

![](/files/-MihilHCJjtBE9KCrr-8) - [\[source code\]](https://github.com/ladybug-tools/ladybug-grasshopper/blob/master/ladybug_grasshopper/src//LB%20Apply%20Analysis%20Period.py)

Apply an analysis period to a data collection.

### Inputs

* **data \[Required]**

A Ladybug data collection object.

* **period \[Required]**

A Ladybug analysis period from the "LB AnalysisPeriod" component.

### Outputs

* **data**

The data collection with the analysis period applied to it.
